projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f03acfc
)
gl_Normal is a vec3 not a vec4.
author
Eric Anholt
<eric@anholt.net>
Wed, 19 May 2010 20:30:14 +0000
(13:30 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 1 Jun 2010 22:15:04 +0000
(15:15 -0700)
Fixes CorrectSwizzle1.vert.
builtin_variables.h
patch
|
blob
|
history
diff --git
a/builtin_variables.h
b/builtin_variables.h
index
661da6c
..
b405b46
100644
(file)
--- a/
builtin_variables.h
+++ b/
builtin_variables.h
@@
-47,7
+47,7
@@
static const builtin_variable builtin_110_deprecated_fs_variables[] = {
static const builtin_variable builtin_110_deprecated_vs_variables[] = {
{ ir_var_in, "vec4", "gl_Vertex" },
- { ir_var_in, "vec
4
", "gl_Normal" },
+ { ir_var_in, "vec
3
", "gl_Normal" },
{ ir_var_in, "vec4", "gl_Color" },
{ ir_var_in, "vec4", "gl_SecondaryColor" },
{ ir_var_in, "vec4", "gl_MultiTexCoord0" },