OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: calculate number of operands in an expression once
[android-x86/external-mesa.git]
/
src
/
compiler
/
glsl
/
lower_vector.cpp
diff --git
a/src/compiler/glsl/lower_vector.cpp
b/src/compiler/glsl/lower_vector.cpp
index
a658410
..
72192b1
100644
(file)
--- a/
src/compiler/glsl/lower_vector.cpp
+++ b/
src/compiler/glsl/lower_vector.cpp
@@
-133,7
+133,7
@@
lower_vector_visitor::handle_rvalue(ir_rvalue **rvalue)
*/
void *const mem_ctx = expr;
- assert(expr->type->vector_elements == expr->
get_num_operands()
);
+ assert(expr->type->vector_elements == expr->
num_operands
);
/* Generate a temporary with the same type as the ir_quadop_operation.
*/