diff options
Diffstat (limited to 'src/compiler/nir/nir_gather_info.c')
-rw-r--r-- | src/compiler/nir/nir_gather_info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_gather_info.c b/src/compiler/nir/nir_gather_info.c index 046836fc534..bff235bb377 100644 --- a/src/compiler/nir/nir_gather_info.c +++ b/src/compiler/nir/nir_gather_info.c @@ -28,6 +28,7 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader) { switch (instr->intrinsic) { case nir_intrinsic_discard: + case nir_intrinsic_discard_if: assert(shader->stage == MESA_SHADER_FRAGMENT); shader->info.fs.uses_discard = true; break; |