s/DP4/DP3/
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 19:06:10 +0000 (19:06 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 19:06:10 +0000 (19:06 +0000)
progs/demos/arbfplight.c

index aa0b7e28a5a34b40644f41147ec74759d17fcbce..d0b6bc9520016ea9f481d0840eb804f9fc1995ca 100644 (file)
@@ -220,10 +220,10 @@ static void Init( void )
       "DP4 result.position.w, pos, modelviewProj[3]; \n"
 
       "# transform normal by inv transpose of modelview, put in tex0 \n"
-      "DP4 result.texcoord[0].x, norm, invModelview[0]; \n"
-      "DP4 result.texcoord[0].y, norm, invModelview[1]; \n"
-      "DP4 result.texcoord[0].z, norm, invModelview[2]; \n"
-      "DP4 result.texcoord[0].w, norm, invModelview[3]; \n"
+      "DP3 result.texcoord[0].x, norm, invModelview[0]; \n"
+      "DP3 result.texcoord[0].y, norm, invModelview[1]; \n"
+      "DP3 result.texcoord[0].z, norm, invModelview[2]; \n"
+      "DP3 result.texcoord[0].w, norm, invModelview[3]; \n"
 
       "END\n";
       ;