From: Keith Whitwell Date: Fri, 20 Nov 2009 03:50:19 +0000 (-0800) Subject: progs/vp: add param and imm test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fafe2b9692f294338d47ad12caecf9fa32703d4;p=mesa.git progs/vp: add param and imm test --- diff --git a/progs/vp/add-param-imm.txt b/progs/vp/add-param-imm.txt new file mode 100644 index 00000000000..90bcf96528f --- /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