Missing Resource Stability

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Type: Automated Test

Overview

The Missing Resource Stability test verifies that a driver can process resource handles correctly.

A graphic driver must ensure that all render targets, textures, and vertex buffers are flushed and are also handled properly before they are released by the system.

Details

In this test, the DrawPrimitive functions are called along with calls to manage resources (such as render targets, textures, and vertex buffers). If the driver incorrectly processes the resource handles, the attempts to render the target result in missing or inappropriate resource pointers.

The test calls DrawPrimitive, releases the resource (the test expects that the drivers flush the resource properly), and calls the IDirect3DDevice9::Present function. If the resource has been flushed properly, the primitives are present.

Run Time:

**Log File:**Missing.xml

System Restart Required: No

Test Category:

Supported operating systems for Logo or Signature testing:

  • Windows 7

  • Windows Server 2008 R2

  • Windows Vista

  • Windows Server 2003

  • Windows XP

Program:

Requirements

Software Requirements

The test tool requires the following software:

  • Supported operating system (see list above).
  • Software components included with the device that is being tested.

Hardware Requirements

  • Device to be tested
  • Computer that meets the minimum software requirements
  • Windows keyboard
  • Two-button pointing device
  • Color display monitor capable of at least 1024 by 768 resolution, 32-bits per pixel, 60 Hz
  • Hard drive with a minimum of 20 GB available on partition C:

Processor

  • x86
  • x64

Command Syntax

Command option Description

-multisample

The test clears the multisample render target and then creates and releases the texture immediately (without loading the image).

-texture

The IDirect3DDevice9::Present method is called when the texture resource has been released.

-buffer

The IDirect3DDevice9::Present method is called when the vertex buffer has been released.

 

Test Assertions

GRFX-70 Display driver functions properly, and does not generate hangs or faults, under prolonged stress

Test Assertion GUID: 85ad15b6-d938-43d0-9142-094375997519

Windows Logo Program: GRAPHICS-0038 Display driver functions properly and does not generate hangs or faults under prolonged stress

 

 

Build date: 9/14/2012