News

 

Bookmark and Share

(6) 

As the release of DirectX 11 application programming interface (API) and supporting hardware and software approaches, more details regarding the benefits they both bring as well as certain peculiarities transpire. While no people involved into development of next-generation games would disclose which features next-generation titles utilize, educated guesses may shed some light onto some usage models of DX11 API.

The First Three Things to Do with DirectX 11

According to Richard Huddy, senior manager of software developer relations at ATI, graphics business unit of Advanced Micro Devices, game developers can easily boost performance of their next-generation titles by implementing certain DirectX 11 capabilities. In addition, by utilizing some of the features of the new API, they can tangibly improve visual appeal of their future games.

“If I was making a decision about [which DirectX 11 features to implement first], I would go for three things fairly quickly,” said Mr. Huddy.

Those things are, apparently, multi-threading support, compute shaders and tessellation.

Multi-Threading: +20% Performance

“As soon as I got hold of DirectX 11 API from Microsoft and Windows 7 beta, which they’ve had for a considerable amount of months now, I would add multi-threading support through the use of Display Lists because that can guarantee me a speed up in almost any application I can think of. Typical benefit is going to be around 20%, but I expect a large variation of that; the variation it can be north of 50%,” explained the developer relations specialist.

What is even more important, software developed with DirectX 11 Display Lists in mind would work faster on every hardware that is compatible with Windows 7, provided that there are appropriate drivers for graphics cards.

“That would be attractive to game developers since that would not require that I have DirectX 11 hardware at hand: the use of Display Lists will give a benefit on any Windows 7 hardware, which includes DirectX 9, DirectX 10, DirectX 11 hardware, once AMD, Nvidia and others ship appropriate drivers that offer the acceleration,” said Richard Huddy.

Post Processing: +25% Performance

“Then I would go for compute shaders, for the low-hanging fruit: I would do things like post-processing, physics, AI, or maybe running particle systems. But the easiest thing to do is to take all the post-processing and bundle it all up into a compute shader, the way it handles [data] transactions is more efficient, said the developer relations chief.

Presently post-processing effects, such as motion blur or depth of field, are done using pixel shader, which may not be very efficient in terms of performance since pixel shaders still depend on the graphics pipeline and require data transfer, usage of texture instructions loads of memory reads and so on. Since compute shaders are independent of the rendering pipeline and require far less of data transactions, texture reads, etc., implementation of post-effects using them may be substantially faster.

“At the moment post-processing is done using pixel shaders and it can be quite hard to get the efficiency out of the hardware. So, we think compute shaders are going to give significant performance win in that specific area of code. Typically we see that post-processing costs from 10% to 25% of frame time (depends on post-processing),” explained Mr. Huddy.

It should be noted that compute shaders 4.0 and 4.1 supported by existing ATI Radeon and Nvidia GeForce graphics cards, therefore, as they have many limitations, may not work as fine as compute shaders 5.0 when it comes to post-processing and similar usage. Therefore, Richard Huddy does not expect CS 4.x to become popular, especially keeping in mind that those, who buy leading-edge hardware, are more likely to acquire the latest game.

ATI has already demonstrated DirectX 11-capable hardware, therefore, at least select game developers already have ATI Radeon HD 5000-series graphics cards at hands.

Tessellation: When Performance Meets Quality

Tessellation is not exactly a performance boosting feature, but it can generate highly-detailed objects using less resources than using traditional technology; therefore, either game developers will be able to offer better graphics, or they will be able to render existing graphics with higher speed.

“After the post-processing work, I would probably switch to tessellation. I would use […] patch approximation to smooth out jagged objects, things like pipes, which are supposed to have smooth form, use N-patches there. Or I will be even more aggressive and take something like parallax occlusion mapping, which is a rather attractive kind of trick for improving the quality of pixels within an object. I would instead extrude the geometry and load a parallax occlusion height map and then would generate much improved silhouettes using the tessellator,” said Mr. Huddy.

Obviously, to use tessellation, developers will have to rely on DirectX 11 or, at least, hardware with tessellation support. Still, tessellation is a yet another advantage of DX11.

More to Come!

There are a lot more things to implement, though, to boost performance of future games. One of them is HDR compression.

“If I had a spare day and HDR, then I would conduct HDR effects into Microsoft’s new format because that be twice compact that way.

Important notice: Richard Huddy is a specialist who recommends game developers to implement certain features and helps programmers to implement those technologies in the most efficient way. Nevertheless, by no mean should his answers be considered as opinion of game developers in general and should be treated as his own outlook.

Tags: Microsoft, DirectX, Windows, ATI, AMD, Radeon, Evergreen, RV870, RV840, R800, 40nm

Discussion

Comments currently: 6
Discussion started: 06/11/09 01:24:08 PM
Latest comment: 06/14/09 03:57:40 AM
Expand all threads | Collapse all threads

[1-4]

1. 
its all hype they said the same about directx10 over 9.. fps drops where even more worse compared to image Quality gain.
[Posted by: 3Dkiller  | Date: 06/11/09 01:24:08 PM]
+ expand thread (1 answer)

2. 
I would like to know how those cards are going to run current PC titles such as Crysis and STALKER: Clear Sky.
[Posted by: michael_d  | Date: 06/11/09 03:51:29 PM]
+ expand thread (1 answer)

3. 
I'll believe this when I see an independent party that's not in the business of selling graphics hardware say this. Given the low rate at which Vista has been adopted and the comparable rate at which Windows 7 will be adopted, expect most developers without oodles of cash that aren't looking to make a cutting edge game continue to use DX 9 for lots of games because DX 10 doesn't work in XP. Devs can't afford to program the graphics twice and can't afford to cut out most of their market.
[Posted by: philosofool  | Date: 06/12/09 09:22:52 AM]

4. 
XP is not the market, the PC isn't the target market.

The game consoles are mostly Direct-X 9 class devices and as such game developers will design games around that hardware, barely any developers will rarely make games that leverage DX10 or DX11 because of that.

It's a simple case of money, doesn't matter of DX10 or DX11 are faster you have to spend money on developers coding that in and supporting/testing it. The remaining PC focused developers still operating like Valve, Blizzard etc aim for the low end of the market and have no reason to adopt any new technology.

The best benefit are compute shaders someone might actually make something useful from that (not games).
[Posted by: Starlight  | Date: 06/14/09 03:57:40 AM]

[1-4]

You must log in to add comments.

Forgot password? Registration

remember me



Related news

Latest News

Friday, March 19, 2010

1:22 pm | Nvidia Has “Tons of Exciting Opportunities” with Tegra – Company. Nvidia Excited About Tegra Prospects with Boosted System-on-Chip Team

5:37 am | Dell Returns Adamo XPS to Own Stores. Dell Adamo XPS Makes Reappearance

Thursday, March 18, 2010

4:57 pm | Sega Expects Microsoft’s Natal to Bring “Brilliant Innovations”. Sega Is Very Positive About Microsoft Natal and Sony Move

3:37 pm | Specifications and Prices of Nvidia GeForce GTX 400-Series Graphics Cards Emerge on the Web [UPDATED]. Nvidia GeForce GTX 480 Receives Cut-Down Version of Chip with Only 480 Stream Processors

1:36 pm | HTC Disagrees with Apple, Will Defend Itself in Court. HTC: We Have Consistently Driven Innovation

10:04 am | World’s Largest Book Seller Appoints E-Commerce Specialist as Chief Executive. Appointment of CEO May Point to Barnes & Noble’s Future: Electronic Commerce

7:50 am | Mainboard Maker Reveals Clock-Speeds of AMD Phenom II X6 Microprocessors. Clock-Speeds of AMD Phenom II “Thuban” Unveiled

4:21 am | Nvidia Merges Core-Logic and System-on-Chip Development Teams. Nvidia’s Tegra Development Team Absorbs nForce Crew