diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/opt_copy_propagation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/glsl/opt_copy_propagation.cpp b/src/compiler/glsl/opt_copy_propagation.cpp index b8ef0de0a30..e904e6ede4a 100644 --- a/src/compiler/glsl/opt_copy_propagation.cpp +++ b/src/compiler/glsl/opt_copy_propagation.cpp @@ -355,8 +355,6 @@ ir_copy_propagation_visitor::add_copy(ir_assignment *ir) if (lhs_var->data.mode != ir_var_shader_storage && lhs_var->data.mode != ir_var_shader_shared && lhs_var->data.precise == rhs_var->data.precise) { - assert(lhs_var); - assert(rhs_var); _mesa_hash_table_insert(acp, lhs_var, rhs_var); } } |