Introduction to the DirectX 9 Shader Models - Nvidia
Introduction to the DirectX 9 Shader Models - Nvidia
Introduction to the DirectX 9 Shader Models - Nvidia
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Nested Static Flow Control<br />
Sim<br />
for ( int i = 0; i < light_count; ++i )<br />
{<br />
}<br />
<strong>to</strong>tal_light += calculate_lighting();<br />
• You can nest function calls inside loops<br />
– Also nested loops<br />
• Both count <strong>to</strong>ward limit reported in :<br />
D3DCAPS9.VS20Caps.StaticFlowControlDepth