diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-11-19 19:50:19 -0800 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-11-19 19:50:19 -0800 |
commit | 3fafe2b9692f294338d47ad12caecf9fa32703d4 (patch) | |
tree | 1f94ad1c9f17d09e55a59ed92236e7ef72250315 | |
parent | d2f4c80c8baf48bcfd3e33a275df2fa6fcb6d353 (diff) |
progs/vp: add param and imm test
-rw-r--r-- | progs/vp/add-param-imm.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/vp/add-param-imm.txt b/progs/vp/add-param-imm.txt new file mode 100644 index 0000000000..90bcf96528 --- /dev/null +++ b/progs/vp/add-param-imm.txt @@ -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 |