Поделиться через


WGF11 Tessellation

This automated test verifies driver behavior with regards to the D3D11 Tessellation feature. Various aspects of this feature are tested, including the hull and domain shader stages, hull shader phases, and the fixed function tessellator.

This topic applies to the following test jobs:

  • WGF11 Tessellation

  • WGF11 Tessellation (WoW64)

Test details

Associated requirements

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.

All test cases return PASS or FAIL. Review the test results in the log file from the Windows HCK Manager for specific details about failures. The test might return SKIP if it is run with a feature level lower than 11.0. The test might return BLOCKED if there is an uncaught exception (framework catches it at the end and logs it).

More information

This test covers the following four test groups:

Tessellator

This test group verifies that the fixed function tessellator is implemented according to the spec. It cycles on the following items and compares the result to the reference rasterizer:

  • Domain (quad, tri, isolines)

  • Partition (integer, pow2, and so on)

  • Topology (point, line, tri, and so on)

  • TessValues

Hull

This group tests the hull shader portion of the tessellation stage. Shaders generate control points that are sorted by the test and compared to expected values. The contents of the control points depend on what the values the test is cycling on, which is similar to the Tessellator test group above. It verifies the following:

  • The input CPs are correctly read by the control point phase.

  • HS is executed once per output control point (not easily verifiable, only a number of output CPs are visible).

  • Output data is correct for inputs (via pass-through DS and stream-out).

  • Primitive ID is identical across a patch. Other system-generated values are also accurate.

  • Pipeline statistics updated appropriately.

Domain

This group tests the domain shader portion of the tessellation stage. Shaders generate vertices that are compared to expected values. The contents of the vertices depend on what the values the test is cycling on, which is similar to the Tessellator test group above. It verifies the following:

  • Primitive ID identical across a patch. Other system-generated values also accurate.

  • All data is available and accurate.

HullPhases

This group tests the phases of the hull shade, including fork and join. Because these phases are not exposed in HLSL the test uses assembly shaders to verify fork and join. It verifies the following:

  • Input and output CPs correctly read by fork and join phases.

  • Fork phase output correctly read by join phase.

  • Output patch constants are correct and fully written (no overwrites or instances getting dropped).

  • Pipeline statistics updated appropriately.

Command syntax

Command option Description

Wgf11tessellation

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

-FeatureLevel:XX.X

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

wgf11tessellation.exe

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

 

 

 

Send comments about this topic to Microsoft