projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823fc65
)
Fix the slow down in noContraction propagation
author
qining
<qining@google.com>
Fri, 20 May 2016 18:11:28 +0000
(14:11 -0400)
committer
qining
<qining@google.com>
Fri, 20 May 2016 18:11:28 +0000
(14:11 -0400)
glslang/MachineIndependent/propagateNoContraction.cpp
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/propagateNoContraction.cpp
b/glslang/MachineIndependent/propagateNoContraction.cpp
index dcb7571100ee7320ad390e80511dee33d98e1d15..c7f3bc3ab277b6839ff1433325130d5f65cf6f16 100644
(file)
--- a/
glslang/MachineIndependent/propagateNoContraction.cpp
+++ b/
glslang/MachineIndependent/propagateNoContraction.cpp
@@
-401,7
+401,8
@@
bool TSymbolDefinitionCollectingTraverser::visitBinary(glslang::TVisit /* visit
} else {
// For other binary nodes, still traverse the right node.
current_object_.clear();
- return true;
+ node->getRight()->traverse(this);
+ return false;
}
return false;
}