projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: fix conversions from uint to bool and from float/bool to uint
[mesa.git]
/
src
/
glsl
/
lower_if_to_cond_assign.cpp
diff --git
a/src/glsl/lower_if_to_cond_assign.cpp
b/src/glsl/lower_if_to_cond_assign.cpp
index 40ffc45c86c0575743dc43c5f5d68ba7f4a6b950..e3a1065d9963e5026df7af2745c33450f87f4e71 100644
(file)
--- a/
src/glsl/lower_if_to_cond_assign.cpp
+++ b/
src/glsl/lower_if_to_cond_assign.cpp
@@
-171,7
+171,7
@@
ir_if_to_cond_assign_visitor::visit_leave(ir_if *ir)
if (found_control_flow)
return visit_continue;
- void *mem_ctx =
t
alloc_parent(ir);
+ void *mem_ctx =
r
alloc_parent(ir);
/* Store the condition to a variable so the assignment conditions are
* simpler.