progs/vp: add param and imm test

This commit is contained in:
Keith Whitwell 2009-11-19 19:50:19 -08:00
parent d2f4c80c8b
commit 3fafe2b969
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
!!ARBvp1.0
TEMP R0;
PARAM Emission = state.material.emission;
ADD R0, vertex.color, {-0.5}.x;
ADD result.color, R0, Emission.w;
MOV result.position, vertex.position;
END