From: Brian Paul Date: Sun, 31 Aug 2003 19:06:10 +0000 (+0000) Subject: s/DP4/DP3/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3680df593acc113fbbd1cef92baf441276ace31;p=mesa.git s/DP4/DP3/ --- diff --git a/progs/demos/arbfplight.c b/progs/demos/arbfplight.c index aa0b7e28a5a..d0b6bc95200 100644 --- a/progs/demos/arbfplight.c +++ b/progs/demos/arbfplight.c @@ -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"; ;