projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: additional interface redeclaration check for SSO programs
[mesa.git]
/
src
/
compiler
/
glsl
/
opt_tree_grafting.cpp
diff --git
a/src/compiler/glsl/opt_tree_grafting.cpp
b/src/compiler/glsl/opt_tree_grafting.cpp
index b0a16041918ad182b960e3c2aa8a07e3fd7f909e..6b5d93af66162380fef12003d3cdf560ecb9acc6 100644
(file)
--- a/
src/compiler/glsl/opt_tree_grafting.cpp
+++ b/
src/compiler/glsl/opt_tree_grafting.cpp
@@
-232,7
+232,7
@@
ir_tree_grafting_visitor::visit_enter(ir_call *ir)
ir_visitor_status
ir_tree_grafting_visitor::visit_enter(ir_expression *ir)
{
- for (unsigned int i = 0; i < ir->
get_num_operands()
; i++) {
+ for (unsigned int i = 0; i < ir->
num_operands
; i++) {
if (do_graft(&ir->operands[i]))
return visit_stop;
}