From cd00247db5bade7b46c9b8ba6522b384b3a48e94 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 28 Feb 2022 18:01:44 +1000 Subject: [PATCH] crocus: force ignore_sample_mask_out on gen4/5 for precompile on gen4/5 this won't ever be anything else, avoids some recompiles. Reviewed-by: Kenneth Graunke Part-of: --- src/gallium/drivers/crocus/crocus_program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/crocus/crocus_program.c b/src/gallium/drivers/crocus/crocus_program.c index a328c6b6b6c..6a6c58c734e 100644 --- a/src/gallium/drivers/crocus/crocus_program.c +++ b/src/gallium/drivers/crocus/crocus_program.c @@ -2893,6 +2893,7 @@ crocus_create_fs_state(struct pipe_context *ctx, KEY_INIT(), .nr_color_regions = util_bitcount(color_outputs), .coherent_fb_fetch = false, + .ignore_sample_mask_out = screen->devinfo.ver < 6 ? 1 : 0, .input_slots_valid = can_rearrange_varyings ? 0 : info->inputs_read | VARYING_BIT_POS, };