aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_remove_dead_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_remove_dead_variables.c')
-rw-r--r--src/compiler/nir/nir_remove_dead_variables.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_remove_dead_variables.c b/src/compiler/nir/nir_remove_dead_variables.c
index acb1540129f..fadc51a6977 100644
--- a/src/compiler/nir/nir_remove_dead_variables.c
+++ b/src/compiler/nir/nir_remove_dead_variables.c
@@ -164,8 +164,6 @@ nir_remove_dead_variables(nir_shader *shader, nir_variable_mode modes)
struct set *live =
_mesa_set_create(NULL, _mesa_hash_pointer, _mesa_key_pointer_equal);
- nir_assert_unlowered_derefs(shader, nir_lower_all_derefs);
-
add_var_use_shader(shader, live, modes);
if (modes & nir_var_uniform)