diff options
Diffstat (limited to 'src/compiler/nir/nir_lower_bitmap.c')
-rw-r--r-- | src/compiler/nir/nir_lower_bitmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_lower_bitmap.c b/src/compiler/nir/nir_lower_bitmap.c index bd5c30f8dc1..216bedf5740 100644 --- a/src/compiler/nir/nir_lower_bitmap.c +++ b/src/compiler/nir/nir_lower_bitmap.c @@ -107,6 +107,8 @@ lower_bitmap(nir_shader *shader, nir_builder *b, discard = nir_intrinsic_instr_create(shader, nir_intrinsic_discard_if); discard->src[0] = nir_src_for_ssa(cond); nir_builder_instr_insert(b, &discard->instr); + + shader->info.fs.uses_discard = true; } static void |