projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a0ba1
)
progs/vp: add pointsize + clamp test
author
Keith Whitwell
<keithw@vmware.com>
Tue, 24 Mar 2009 17:50:36 +0000
(17:50 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 24 Mar 2009 17:50:36 +0000
(17:50 +0000)
progs/vp/psiz-mul-clamp.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/progs/vp/psiz-mul-clamp.txt
b/progs/vp/psiz-mul-clamp.txt
new file mode 100644
(file)
index 0000000..
284c032
--- /dev/null
+++ b/
progs/vp/psiz-mul-clamp.txt
@@ -0,0
+1,9
@@
+!!ARBvp1.0
+TEMP R0;
+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
+