WGF11 Draw

This automated test verifies that the behavior of draw calls of the graphics drivers/hardware meets the DX11 specification.

Note

   The test covers draw calls and indirect draw calls.

 

This topic applies to the following test jobs:

  • WGF11 Draw

  • WGF11 Draw (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 (x86)
  • 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) 2
Category Compatibility
Timeout (in minutes) 120
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.

Test cases return one of the following results:

  • Pass

  • Fail

  • Blocked

  • Skipped

The log file will contain specific details about the test cases that are failed, blocked, or skipped. A test case will return Skipped if it is invalid according to the current hardware configuration (some features are optional and may not be supported by some hardware) and the command line options (some test cases are only valid for certain feature levels). A test case will return Blocked if the failure is caused by reasons other than the tested feature. To review test details, review the test log from the Windows HLK Manager.

More information

In the Draw test group:

  • Draw functions are cycled, including Draw(), DrawIndexed(), DrawInstanced() and DrawIndexedInstanced().

  • The vertex buffer size, vertex buffer offset, index buffer size, and index buffer offset cycle through different values.

  • The number of elements in the vertex buffer and the input classification cycle through different values.

  • The number of vertices to draw and the start vertex location cycle through different values.

  • Other parameters that are specific to different draw functions, including index count, start index location, instance count, start instance location, and base vertex location, also cycle through different values.

  • Test results are read back from the stream output buffer and verified against expected values.

  • Pipeline statistics, including VSInvocations, IAPrimitives, and IAVertices are verified.

In the DrawIndirect test group:

  • Draw indirect functions are cycled, including DrawInstancedIndirect() and DrawIndexedInstancedIndirect().

  • The methods to fill in the argument buffer include UpdateSubresource, StreamOutput buffer, RenderTarget buffer, and CopyStructureCount.

  • The aligned byte offset for the argument buffer cycles through different values.

  • Test results are read back from the stream output buffer and verified against expected values.

  • Pipeline statistics, including VSInvocations, IAPrimitives, and IAVertices are verified.

Command syntax

Command option Description

Wgf11draw

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

-FeatureLevel:XX.X

Sets the feature level, 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\

Wgf11draw.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
TDArgs /get or /sets