summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_instr_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_instr_set.c')
-rw-r--r--src/glsl/nir/nir_instr_set.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_instr_set.c b/src/glsl/nir/nir_instr_set.c
index 7886003fe35..d3f939fe805 100644
--- a/src/glsl/nir/nir_instr_set.c
+++ b/src/glsl/nir/nir_instr_set.c
@@ -311,8 +311,7 @@ nir_instrs_equal(const nir_instr *instr1, const nir_instr *instr2)
}
/* Don't support un-lowered sampler derefs currently. */
- if (tex1->sampler || tex2->sampler)
- return false;
+ assert(!tex1->sampler && !tex2->sampler);
return true;
}