projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6202cbf
)
Actually emit temp declaration in vector comparison builtins.
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 22 Apr 2010 06:58:13 +0000
(23:58 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 22 Apr 2010 06:58:13 +0000
(23:58 -0700)
builtin_function.cpp
patch
|
blob
|
history
diff --git
a/builtin_function.cpp
b/builtin_function.cpp
index 4243340b3d7b02046bdc0867bf521f704fbb3409..a6e1d3703656f3763a4ccf5a47b2d3586a64cd7e 100644
(file)
--- a/
builtin_function.cpp
+++ b/
builtin_function.cpp
@@
-331,6
+331,7
@@
generate_vec_compare(exec_list *instructions,
return_type = glsl_type::get_instance(GLSL_TYPE_BOOL,
type->vector_elements, 1);
temp = new ir_variable(return_type, "temp");
+ instructions->push_tail(temp);
for (i = 0; i < type->vector_elements; i++) {
ir_assignment *assign;