summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2006-06-21 14:03:39 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2006-06-21 14:03:39 +0000
commit942b5b7bc08227f385b6a99167ad763a2843dc9a (patch)
treeb43b87a760cf0064bbc5cd5de7d338fd577f8bd5 /progs
parentfeb0ff11e5d429e1444f9987137c929adfb09bc8 (diff)
exercise position invarient vertex program
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/arbvptorus.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/progs/tests/arbvptorus.c b/progs/tests/arbvptorus.c
index c1e2d0b76a..9d19ef90da 100644
--- a/progs/tests/arbvptorus.c
+++ b/progs/tests/arbvptorus.c
@@ -115,13 +115,8 @@ static void Init( void )
*/
static const char prog[] =
"!!ARBvp1.0\n"
+ "OPTION ARB_position_invariant ;"
"TEMP R0, R1; \n"
- "#Simple transform and diffuse lighting\n"
- "# object x MVP -> clip\n"
- "DP4 result.position.x, state.matrix.mvp.row[0], vertex.position ;\n"
- "DP4 result.position.y, state.matrix.mvp.row[1], vertex.position ;\n"
- "DP4 result.position.z, state.matrix.mvp.row[2], vertex.position ;\n"
- "DP4 result.position.w, state.matrix.mvp.row[3], vertex.position ;\n"
"# normal x MV-1T -> lighting normal\n"
"DP3 R1.x, state.matrix.modelview.invtrans.row[0], vertex.normal ;\n"