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 <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15315>
This commit is contained in:
Dave Airlie 2022-02-28 18:01:44 +10:00 committed by Marge Bot
parent 7edda218fd
commit cd00247db5

View file

@ -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,
};