DirectX Developer Blog

The latest news on Microsoft's Graphics and Display technology

Latest posts

Dec 17, 2019
Post comments count 11
Post likes count 3

Demystifying Fullscreen Optimizations

Hannah Fisher

We wrote this article to explain the difference between Fullscreen Exclusive and Fullscreen Optimizations. This article goes details the roll out and the benefits that come with Fullscreen Optimizations.

Nov 20, 2019
Post comments count 0
Post likes count 0

DirectX 12 and Fortnite

Jacques van Rhyn

On Monday, Epic Games announced that DirectX 12 support is coming to Fortnite. And today, the wait is over: anyone updating to the v11.20 patch has the option to try out Fortnite’s beta DX12 path! What does this all mean? Let's see if we can help!   What’s wrong with DX11? Nothing! We at the DirectX team designed DirectX 11 to be the best API for game developers to use in their engines. Even though we shipped DX11 a decade ago, for many games it’s still a great option. Having said that, DX12 has several advantages over DX11. A major difference between the two APIs is that DX12 is more low-l...

Nov 20, 2019
Post comments count 0
Post likes count 1

CPU- and GPU-boundedness

Jacques van Rhyn

We wrote this article to explain two key terms: CPU-bound and GPU-bound. There's some misinformation about this terms, and we're hoping this article can help fix this problem. Even though applications run on the CPU, many modern-day applications require a lot of GPU support. These apps generate a list of rendering instructions (i.e. the math behind generating the 2D images to display). This happens on the CPU, which sends these instructions to the GPU for processing. How this entire process works warrants a separate article, but the main point here is that most apps need to use both the CPU and GPU to do wo...

Nov 13, 2019
Post comments count 0
Post likes count 0

Coming to DirectX 12: D3D9On12 and D3D11On12 Resource Interop APIs

Randy Tidd

D3D is introducing D3D9on12 with resource interop APIs and adding similar resource interop APIs to D3D11on12.  With this new support, callers can now retrieve the underlying D3D12 resource from the D3D11 or D3D9 resource object even when the resource was created with D3D11 or D3D9 API.   The new D3D9On12 API can be found in the insider SDK in D3D9on12.h.  These features are available in Windows Insider builds now and do not require new drivers to work. You can explicitly create D3D9 with D3D9On12 using new overrides: D3D9 begins by creating an active display adapter enumerator.  These new entry points allow...

Nov 11, 2019
Post comments count 0
Post likes count 0

Coming to DirectX 12: More control over memory allocation

Jesse Natalie

In the next update to Windows, D3D12 will be adding two new flags to the D3D12_HEAP_FLAG enumeration. These new flags are “impermanent” properties, which don’t affect the resulting memory itself, but rather the way in which it’s allocated. This gives app developers more control and flexibility.

Nov 8, 2019
Post comments count 0
Post likes count 2

Coming to DirectX 12— Mesh Shaders and Amplification Shaders: Reinventing the Geometry Pipeline  

Sarah Jobalia

D3D12 is adding two new shader stages: the Mesh Shader and the Amplification Shader. These additions will streamline the rendering pipeline, while simultaneously boosting flexibility and efficiency.  In this new and improved pre-rasterization pipeline, Mesh and Amplification Shaders will optionally replace the section of the pipeline consisting of the Input Assembler as well as Vertex, Geometry, Domain, and Hull Shaders with richer and more general purpose capabilities. This is possible through a reimagination of how geometry is processed.   Topics What does the geometry pipeline look like now? How...

Nov 6, 2019
Post comments count 0
Post likes count 0

DirectX Raytracing (DXR) Tier 1.1

Amar Patel

An overview of features in DXR Tier 1.1.

Nov 4, 2019
Post comments count 0
Post likes count 1

Coming to DirectX 12— Sampler Feedback: some useful once-hidden data, unlocked

Claire Andrews

Why Feedback: A Streaming Scenario Suppose you are shading a complicated 3D scene. The camera moves swiftly throughout the scene, causing some objects to be moved into different levels of detail. Since you need to aggressively optimize for memory, you bind resources to cope with the demand for different LODs. Perhaps you use a texture streaming system; perhaps it uses tiled resources to keep those gigantic 4K mip 0s non-resident if you don’t need them. Anyway, you have a shader which samples a mipped texture using A Very Complicated sampling pattern. Pick your favorite one, say anisotropic. The sampling in th...

Oct 28, 2019
Post comments count 1
Post likes count 0

Dev Preview of New DirectX 12 Features

Jianye Lu

In this blog post, we will preview a suite of new DirectX 12 features, including DirectX Raytracing tier 1.1, Mesh Shader, and Sampler Feedback. All these features are currently available in Windows 10 Insider Preview Builds (20H1).