summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_undef.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_opt_undef.c')
-rw-r--r--src/compiler/nir/nir_opt_undef.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_opt_undef.c b/src/compiler/nir/nir_opt_undef.c
index 428a1f26599..c26158dab7e 100644
--- a/src/compiler/nir/nir_opt_undef.c
+++ b/src/compiler/nir/nir_opt_undef.c
@@ -137,8 +137,6 @@ nir_opt_undef(nir_shader *shader)
nir_builder b;
bool progress = false;
- nir_assert_unlowered_derefs(shader, nir_lower_load_store_derefs);
-
nir_foreach_function(function, shader) {
if (function->impl) {
nir_builder_init(&b, function->impl);