mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
glsl: initialise killed_all field.
coverity pointed out this field was being used uninitialised. Note: This is a candidate for stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d128ae347a
commit
906670a790
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ public:
|
|||
ir_constant_propagation_visitor()
|
||||
{
|
||||
progress = false;
|
||||
killed_all = false;
|
||||
mem_ctx = ralloc_context(0);
|
||||
this->acp = new(mem_ctx) exec_list;
|
||||
this->kills = new(mem_ctx) exec_list;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue