projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: initialise killed_all field.
[mesa.git]
/
src
/
glsl
/
lower_discard.cpp
diff --git
a/src/glsl/lower_discard.cpp
b/src/glsl/lower_discard.cpp
index b95313df8c817e943a77081a80b9af783889ad63..cafd2dd3b44defdeb46a5c75b97f6db0473b147a 100644
(file)
--- a/
src/glsl/lower_discard.cpp
+++ b/
src/glsl/lower_discard.cpp
@@
-170,7
+170,7
@@
lower_discard_visitor::visit_leave(ir_if *ir)
if (then_discard == NULL && else_discard == NULL)
return visit_continue;
- void *mem_ctx =
t
alloc_parent(ir);
+ void *mem_ctx =
r
alloc_parent(ir);
ir_variable *temp = new(mem_ctx) ir_variable(glsl_type::bool_type,
"discard_cond_temp",