Share via


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

Associated requirements

Device.Graphics.AdapterRender.D3D101Core.D3D101CorePrimary Device.Graphics.AdapterRender.D3D10Core.D3D10CorePrimary Device.Graphics.AdapterRender.D3D111Core.D3D111CorePrimary Device.Graphics.AdapterRender.D3D11Core.D3D11CorePrimary

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~2 minutes

Categories

Certification Functional

Type

Automated

 

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 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 HCK 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

 

 

 

Send comments about this topic to Microsoft