projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7a01a
)
s/DP4/DP3/
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:57:17 +0000
(18:57 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:57:17 +0000
(18:57 +0000)
progs/demos/fplight.c
patch
|
blob
|
history
diff --git
a/progs/demos/fplight.c
b/progs/demos/fplight.c
index eebe9d1c5c9c1bf986a4c51395f477473cadc8f7..4f8b42aa96eaf78407fdb6137c0d4a6d57ad4159 100644
(file)
--- a/
progs/demos/fplight.c
+++ b/
progs/demos/fplight.c
@@
-200,10
+200,10
@@
static void Init( void )
"DP4 o[HPOS].z, c[2], v[OPOS] ;\n"
"DP4 o[HPOS].w, c[3], v[OPOS] ;\n"
"# transform normal by inv transpose of modelview, put in tex0\n"
- "DP
4
o[TEX0].x, c[4], v[NRML] ;\n"
- "DP
4
o[TEX0].y, c[5], v[NRML] ;\n"
- "DP
4
o[TEX0].z, c[6], v[NRML] ;\n"
- "DP
4
o[TEX0].w, c[7], v[NRML] ;\n"
+ "DP
3
o[TEX0].x, c[4], v[NRML] ;\n"
+ "DP
3
o[TEX0].y, c[5], v[NRML] ;\n"
+ "DP
3
o[TEX0].z, c[6], v[NRML] ;\n"
+ "DP
3
o[TEX0].w, c[7], v[NRML] ;\n"
"END\n";
;