Details of the Extended Format
This section applies only to Windows 7 and later operating systems.
In the following table, the XR part of a format name can be considered a new shader interpretation of the bits akin to UNORM or SINT. The XR_BIAS part of a format name is a special case that overloads this interpretation semantic with additional metadata. This metadata indicates that the format must be explicitly offset and biased in shader code on transitions into and out of the shader. The driver is not required to perform any of this biasing work; it is left entirely to the application.
Table of extended formats
The following table shows resources with particular attributes that use the extended formats (DXGI_FORMAT_*) if the hardware supports these extended formats for the resource with those attributes or if extended formats for those resources are optional. See DXGI_FORMAT for a description of each format.
Column key for the below table:
- A: DXGI_FORMAT_B8G8R8A8_TYPELESS
- B: DXGI_FORMAT_B8G8R8A8_UNORM (existing)
- C: DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
- D: DXGI_FORMAT_B8G8R8X8_TYPELESS
- E: DXGI_FORMAT_B8G8R8X8_UNORM (existing)
- F: DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
- G: DXGI_FORMAT_R10G10B10A2_TYPELESS
- H: DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
|Buffer||N/A||R (changed)||N/A||N/A||R (changed)||N/A||N/A||N/A|
|Input Assembler Vertex Buffer||N/A||R (changed)||N/A||N/A||R (changed)||N/A||N/A||N/A|
|Texture1D||R||R (changed)||R||R||R (changed)||R||R||N/A|
|Texture3D||R||R (changed)||R||R||R (changed)||R||R||N/A|
|Texture Cube||R||R (changed)||R||R||R (changed)||R||R||N/A|
|Shader Sample (any filter)||N/A||R||R||N/A||R||R||N/A||N/A|
|MIP-map textures||R||R (changed)||R||R||R (changed)||R||R||N/A|
|MIP-map Auto-Generation||N/A||R (changed)||R||N/A||R (changed)||R||N/A||N/A|
|Blendable Render Target||N/A||R||R||N/A||R||R||N/A||N/A|
|Multi-Sample Render Target||N/A||O||O||N/A||O||O||N/A||N/A|
|Multi-Sample Resolve||N/A||R (changed)||R||N/A||R (changed)||R||N/A||N/A|
|Display Scan Out||N/A||R (changed)||R||N/A||N/A||N/A||N/A||R|
|Cast Within Bit Layout||R||R (changed)||R||R||R||R||R||R|
In the preceding table, cell entries have the following meaning:
- "R" indicates that hardware support is required
- "o" indicates that hardware support is optional
- N/A indicates that the resource attribute either is not applicable to the extended format or does not allow the extended format
The DXGI_FORMAT_B8G8R8A8_UNORM and DXGI_FORMAT_B8G8R8X8_UNORM formats already existed in the DXGI_FORMAT enumeration. However, they are now considered members of the appropriate new family. Their requirements have changed compared to their original definitions.
Rows for the "Input Assembler Index Buffer", "Shader sample_c (comparison filter)", "Shader sample (mono 1-bit filter)", "Shader gather4", and "Depth-Stencil Target" resource attributes are not included in the preceding table for readability. All meaning for these resource attributes is N/A.
The following sections describe the details of the new extended formats: