summaryrefslogtreecommitdiff
path: root/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/gl_nir_lower_samplers_as_deref.c')
-rw-r--r--src/compiler/glsl/gl_nir_lower_samplers_as_deref.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c b/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c
index f8bbd666424..aae64c9f3f9 100644
--- a/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c
+++ b/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c
@@ -282,8 +282,6 @@ gl_nir_lower_samplers_as_deref(nir_shader *shader,
bool progress = false;
struct lower_samplers_as_deref_state state;
- nir_assert_unlowered_derefs(shader, nir_lower_texture_derefs);
-
state.shader = shader;
state.shader_program = shader_program;
state.remap_table = _mesa_hash_table_create(NULL, _mesa_key_hash_string,