From: Keith Whitwell Date: Tue, 24 Mar 2009 19:25:56 +0000 (+0000) Subject: progs/vp: more psiz tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e919bfa1f1766e71780d0a4db5a8b6a04d19868f;p=mesa.git progs/vp: more psiz tests --- diff --git a/progs/vp/psiz-imm.txt b/progs/vp/psiz-imm.txt new file mode 100644 index 00000000000..18de2498d67 --- /dev/null +++ b/progs/vp/psiz-imm.txt @@ -0,0 +1,5 @@ +!!ARBvp1.0 +MOV result.color, vertex.color; +MOV result.pointsize, {2.0, 0, 0, 1}; +MOV result.position, vertex.position; +END diff --git a/progs/vp/psiz-param-clamp.txt b/progs/vp/psiz-param-clamp.txt new file mode 100644 index 00000000000..7f83fc45165 --- /dev/null +++ b/progs/vp/psiz-param-clamp.txt @@ -0,0 +1,10 @@ +!!ARBvp1.0 +TEMP R0; +TEMP R1; +MOV result.color, vertex.color; +MUL R0.x, vertex.color.x, {10.0}.x; +MAX R0.x, R0.x, {2.0}.x; +MIN result.pointsize.x, R0.x, {4.0}.x; +MOV result.position, vertex.position; +END +