projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
667173e
)
glsl2: Unmark unwritten varyings as varying.
author
Eric Anholt
<eric@anholt.net>
Wed, 28 Jul 2010 20:42:36 +0000
(13:42 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 28 Jul 2010 21:04:54 +0000
(14:04 -0700)
This fixes an assertion failure in ir_to_mesa, and the varying won't
take up varying space.
src/glsl/linker.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/linker.cpp
b/src/glsl/linker.cpp
index
e7bc700
..
ec3cc01
100644
(file)
--- a/
src/glsl/linker.cpp
+++ b/
src/glsl/linker.cpp
@@
-1132,6
+1132,7
@@
assign_varying_locations(gl_shader *producer, gl_shader *consumer)
* by the previous stage.
*/
var->shader_in = (var->location != -1);
+ var->mode = ir_var_auto;
}
}