From 942b5b7bc08227f385b6a99167ad763a2843dc9a Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 21 Jun 2006 14:03:39 +0000 Subject: [PATCH] exercise position invarient vertex program --- progs/tests/arbvptorus.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/progs/tests/arbvptorus.c b/progs/tests/arbvptorus.c index c1e2d0b76a8..9d19ef90da5 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" -- 2.30.2