mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
s/DP4/DP3/
This commit is contained in:
parent
254e201721
commit
b3680df593
1 changed files with 4 additions and 4 deletions
|
|
@ -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";
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue