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

We lose two instructions • Lit • Dst – These complex lighting setup instructions disappear from the spec... • They remain in vs 1.0 and 1.1, but they’re not in vs 2.0 • But we add macros: – sincos (8 slots) // cos in x, sin in y – crs (2 slots) // Cross Product

Changes to the VS numbers • 256 instructions of stored program (was 128) • 256 constants (was minimum of 96) • Address register is now vector (was scalar) • New registers – 64 iteration control registers (as 16 vectors) – 1 scalar loop register (only readable within the loop) – 16 1-bit Boolean registers • Max number of instructions executed per shader is now tentatively 1024 (max was always 128 before jumps)

We lose two instructions<br />

• Lit<br />

• Dst<br />

– These complex lighting setup instructions disappear<br />

from <strong>the</strong> spec...<br />

• They remain in vs 1.0 and 1.1, but <strong>the</strong>y’re not in<br />

vs 2.0<br />

• But we add macros:<br />

– sincos (8 slots) // cos in x, sin in y<br />

– crs (2 slots) // Cross Product

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

Saved successfully!

Ooh no, something went wrong!