Introduction to the DirectX 9 Shader Models - Nvidia

Introduction to the DirectX 9 Shader Models - Nvidia Introduction to the DirectX 9 Shader Models - Nvidia

30.04.2014 Views

Extended shaders Sim • What are the extended shader models? • A shader is considered 2_x level if it requires at least one capability beyond stock ps.2.0 or vs.2.0 • Use the ‘vs_2_x’ or ‘ps_2_x’ label in your assembly or as your compilation target

Caps for vs_2_x Sim • New D3DVSHADERCAPS2_0 structure D3DCAPS9.VS20Caps CineFX support Caps NumTemps StaticFlowControlDepth D3DVS20CAPS_PREDICATION 16 4 DynamicFlowControlDepth 24

Caps for vs_2_x<br />

Sim<br />

• New D3DVSHADERCAPS2_0 structure<br />

D3DCAPS9.VS20Caps<br />

CineFX support<br />

Caps<br />

NumTemps<br />

StaticFlowControlDepth<br />

D3DVS20CAPS_PREDICATION<br />

16<br />

4<br />

DynamicFlowControlDepth<br />

24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!