projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654c057
)
AST to IR: Mark 'varying' in a vertex shader as 'out'
author
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 10 Mar 2010 08:28:59 +0000
(
00:28
-0800)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 10 Mar 2010 08:28:59 +0000
(
00:28
-0800)
ast_to_hir.cpp
patch
|
blob
|
history
diff --git
a/ast_to_hir.cpp
b/ast_to_hir.cpp
index faa13abd5997fc31df9e21e40a3087324ad622ff..becc8327fb66aea65808afbba26398e85f45cf1c 100644
(file)
--- a/
ast_to_hir.cpp
+++ b/
ast_to_hir.cpp
@@
-855,7
+855,7
@@
apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual,
else if (qual->attribute || qual->in
|| (qual->varying && (state->target == fragment_shader)))
var->mode = ir_var_in;
- else if (qual->out)
+ else if (qual->out
|| (qual->varying && (state->target == vertex_shader))
)
var->mode = ir_var_out;
else if (qual->uniform)
var->mode = ir_var_uniform;