Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

The following table shows resources with particular attributes that use the extended formats if the hardware supports these extended formats for the resource with those attributes or if extended formats for those resources are optional.

Formats (DXGI_FORMAT_*)
B8G8R8A8B8G8R8A8B8G8R8X8B8G8R8X8R10G10B10
ResourceB8G8R8A8_UNORM_UNORMB8G8R8X8_UNORM_UNORMR10G10B10A2_XR_BIAS
attribute_TYPELESS (existing)_SRGB_TYPELESS(existing)_SRGB_TYPELESS_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

Texture2D

R

R

(changed)

R

R

R

R

R

R

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 ID

N/A

R

R

N/A

R

R

N/A

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

Render

Target

N/A

R

R

N/A

R

R

N/A

N/A

Blendable

Render

Target

N/A

R

R

N/A

R

R

N/A

N/A

CPU

Lockable

R

R

R

R

R

R

R

R

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

Multi-

Sample

Load

N/A

R

R

N/A

R

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

 

Note   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

Note   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.

Note   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:

XR Layout

XR Format Alpha Content

DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM

Casting Ability of XR Formats

XR_BIAS Color Channel Conversion Rules

Interpretation of X Channel

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft