Check Resource

This automated test uses the D3D9Ex API to verify the QueryResourceResidency function of the user-mode display driver.

This topic is applicable to the following test jobs:

  • Check Resource

  • Check Resource (WoW64)

Applications use QueryResourceResidency to determine if the operating system will pause at draw time to make the resource CPU-accessible. The test runs against the following resource texture types: Cube Texture, Volume Texture, Surface, vertex buffer (VB), and index buffer (IB). For each resource type the test creates the resource, uses the resource in a rending operation, and then checks its residency. If the resource is not resident (fully or in shared memory), the test fails.

Test details

Associated requirements

Device.Graphics.AdapterRender.MinimumDirectXLevel

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.

More information

Command syntax

Command option Description

ResChk -M:1 -whql -logclean -dx9

Runs the Check Resource test job.

ResChk -M:1 -whql -logclean

Runs the Check Resource (WoW64) test job.

 

Note  

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

 

File list

File Location

Configdisplay.exe

[testbinroot]\nttest\windowstest\tools

D3d10ref.dll

[testbinroot]\nttest\graphics\d3d\support\

D3d11ref.dll

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

D3dcompiler_test.dll

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

D3dref.dll

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

D3dref8.dll

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

D3dref9.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\

D3dx8d.dll

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

D3dx9_TEST.dll

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

Fpstate.dll

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

Modechange.exe

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

ResChk.exe

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

TDRWatch.exe

[testbinroot]\nttest\windowstest\graphics\

Vbswap.x

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

 

 

 

Send comments about this topic to Microsoft