Minimal DirectX 8.0 DDI Support

DirectX 8.0 provides hardware acceleration by DirectX 7.0 level drivers. However, for a driver to expose any of the new features of DirectX 8.0 such as multiple vertex streams, index buffers, or vertex and pixel shaders, it must identify itself by reporting DirectX 8.0 style capabilities and support the new D3dDrawPrimitives2 rendering tokens. In order to support the new D3dDrawPrimitives2 rendering tokens the driver is required to provide basic support for vertex streams and fixed function vertex shaders.

Reporting DirectX 8.0 style capabilities involves the following steps:

  • Handling the new GetDriverInfo2 variant of the existing DdGetDriverInfo entry point.

  • Returning a D3DCAPS8 structure containing the capabilities of the device when requested.

  • Ensuring that defined fields of that structure have certain minimum values.

  • Returning a texture format list that includes DirectX 8.0 style surface format descriptions.

These various requirements are discussed in the following sections.

Send comments about this topic to Microsoft