WGF11 Shader 5x (WoW64)

This automated test utilizes the D3D11 APIs and Shader 4.0, 4.1, or 5.0 instruction set, depending on the feature level specified on the command line. The test doesn't rely on the compiler; instead it assembles shaders to ensure specific instructions are fully tested and not altered by the compiler. During execution, the test cycles between different instructions (each instruction is a separate group), shader stages, register values, and mask/swizzle combinations. Each test case uses different data depending on the current instruction and its behavior as described by the spec.

WGF11Shader5x adds support for new 4.x instructions (including doubles) and stages (like the Compute Shader), if the driver supports it.

This topic applies to the following test jobs:

  • WGF11 Shader 5x

  • WGF11 Shader 5x - DoubleArith

  • WGF11 Shader 5x - DoubleArith (WoW64)

  • WGF11 Shader 5x - Extended double precision shader instructions

  • WGF11 Shader 5x - Extended double precision shader instructions (WoW64)

  • WGF11 Shader 5x (WoW64)

Test details

   
Specifications
  • Device.Graphics.AdapterRender.D3D111Core.D3D111CorePrimary
  • Device.Graphics.AdapterRender.D3D11Core.D3D11CorePrimary
  • Device.Graphics.AdapterRender.D3D101Core.D3D101CorePrimary
  • Device.Graphics.AdapterRender.D3D10Core.D3D10CorePrimary
Platforms
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
  • Windows 10, client editions (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 20
Category Compatibility
Timeout (in minutes) 1200
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

Running the test

Before you run the test, complete the test setup as described in the test requirements: Graphic Adapter or Chipset Testing Prerequisites.

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting Device.Graphics Testing.

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 the shader stages are not supported. For example, if running the test with feature level 10.0, HULL and DOMAIN shaders are not supported, so those tests will skip. The test will also skip if specific formats, quality levels, doubles, and so on are not supported. The test asks the driver for support before executing a given test. To run the test with a different feature level, use one of the following command line options (also see below):

  • featurelevel:10.0

  • featurelevel:10.1

  • featurelevel:11.0

If your driver sample is in one location, but it reports that the location is in another location during the test, or if the sample locations change between draw calls, you may fail the test with the following error: "samplepos returned incorrect sample location".

One possible cause for this error is that the test specifies the sample index 0 at (32, 32) in the 256x256 sub-pixel grid, because the driver lit the pixel when a sub-pixel quad was rendered there. However, your driver is returning (192, 192) for sample index 0 through the samplepos instruction.

Test command line: WGF11Shader5x.exe: -src:hw -logclean multisample\samplepos\2\9:9 -featurelevel:11.0

Error message in the log:

Test Case 9: Multisample\samplepos\2\9 Fail + Test Case 9: Multisample\samplepos\2\9 Fail Parameter: Format=R32G32B32A32_FLOAT Parameter: Dimension=TEXTURE2DMS Parameter: SampleCount=2 Parameter: SampleQuality=1 Parameter: Height=3 Parameter: Width=7 Parameter: rasterizer=true Parameter: SRV_Bound=false Parameter: SampleIndex=0 Pixel [0,0], Sample[0] samplepos returned (8, 8) actual sample position = (-12, -12) [CSampleInfoTest::ExecuteTestCase()] samplepos returned incorrect sample location.

More information

.

Command syntax

Command option Description

Wgf11shader5x

Runs the test. Without any options, the test enumerates devices.

-FeatureLevel:XX.X

Sets the feature level of the test, where XX.X is the Feature Level the test will run at: 10.0, 10.1, or 11.0.

Note

   For command line help for this test binary, type /?.

 

File list

File Location

Configdisplay.exe

<[testbinroot]>\nttest\windowstest\tools\

D3d11_1sdklayers.dll

<[testbinroot]>\nttest\windowstest\graphics\d3d\support\

D3d11ref.dll

<[testbinroot]>\nttest\windowstest\graphics\d3d\support\

D3d11sdklayers.dll

<[testbinroot]>\nttest\windowstest\graphics\d3d\support\

D3dcompiler_test.dll

<[testbinroot]>\nttest\windowstest\graphics\d3d\support

D3dx10_test.dll

<[testbinroot]>\nttest\windowstest\graphics\d3d\support\

d3dx11_test.dll

<[testbinroot]>\nttest\windowstest\graphics\d3d\support\

TDRWatch.exe

<[testbinroot]>\nttest\windowstest\graphics\

Wgf11shader5x.exe

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

 

Parameters

Parameter name Parameter description
MODIFIEDCMDLINE Additional command line arguments for test executable
LLU_NetAccessOnly LLU Name of net user
ConfigDisplayCommandLine Custom Command Line for ConfigDisplay. Default: logo
TDRArgs /get or /set