WGF11 Resource Formats

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Type: Automated Test

Overview

The WGF11ResourceFormats test verifies D3D graphics driver/hardware conformance for shader resource views and the texture formats that are outlined in the D3D11 functional specification.

Details

ResourceFormats (tests mainly ShaderResourceViews)

There are various formats available for resources. They vary mainly in number of components, type, precision, and whether or not they are compressed.

  • Render target is a four-component, 32-bit float format. The formats tested are converted to this format. Results must be within 1-ULP(Unit Least Precision) per component of expected result.

  • Compressed and other special formats are decoded as specified in the test and compared against the hardware's (or REF's) results (again, 1-ULP tolerance).

  • Three types of source data are used: tiles, gradients, and stripes. Each data type is parameterized, such as gradient colors, tile and stripe size, and so on.

  • Depending on the resource type (all five types are tested) the test cycles through different values for height, width, and depth. This includes non-square and non-pow-2 values.

  • Hit all shader resource slots throughout the test run.

  • Verify multiple use input resources.

  • Example: Use a texture as vertex input and shader resource input in the same Draw() call.

  • Test input/output resources (for example: D3D10_BIND_SHADER_RESOURCE | D3D10_BIND_RENDERTARGET)

  • Try using first pass to initialize resource data.

DepthReadbackVerifies driver behavior when using a depth buffer from one pass as a shader resource in a subsequent pass.

CheckFormatSupportVerifies that the driver supports the required formats and their capabilities based on the format table in the spec.

Run Time: 10 minutes

Log File: WGF11ResourceFormats.xml

System Restart Required: No

Test Category: Display Adapter and Chipset

Supported operating systems for Logo or Signature testing:

  • Windows 7

  • Windows Server 2008 R2

  • Windows Vista

  • Windows Server 2008

Program: wgf11resourceformats.exe .

Requirements

Software Requirements

The test tool requires the following software:

  • Supported operating system (see list above)

  • Software components included with the device that is being tested

Hardware Requirements

The test tool requires the following hardware:

  • Device to be tested

  • Computer that meets the minimum software requirements

  • Windows keyboard

  • Two-button pointing device

  • Color display monitor capable of at least 1024 by 768 resolution, 32-bits per pixel, 60 Hz

  • Hard drive with a minimum of 20 GB available on partition C:

Processor

The test tool runs on the following processor architectures:

  • x86

  • x64

Running the Test

All test cases return PASS or FAIL. Review the test results in the log file for specific details about failures.

The test might return SKIP if a format is not supported by the device.

The test might return BLOCKED if there is an uncaught exception (framework catches it at the end and logs it).

Command Syntax

Command option Description

wgf11resourceformats.exe

Without any options, the test enumerates devices.

-FeatureLevel:XX.X

Where XX.X is the Feature Level the test will run at, 10.0, 10.1, or 11.0

 

Code Tour

File Manifest

File Location

wgf11resourceformats.exe

[testbinroot]\nttest\windowstest\graphics\d3d\conf

 

Test Assertions

Test enforcing Windows Logo Requirement: Graphics-0076

 

 

Build date: 9/14/2012