intel/fs: Simplify persample_dispatch

Thanks to the previous commit, we no longer need this check.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14020>
This commit is contained in:
Jason Ekstrand 2022-07-12 13:51:10 -05:00 committed by Marge Bot
parent 1124bee4ba
commit d0b154319d
1 changed files with 1 additions and 2 deletions

View File

@ -7247,8 +7247,7 @@ brw_nir_populate_wm_prog_data(const nir_shader *shader,
prog_data->persample_dispatch =
key->multisample_fbo &&
(key->persample_interp ||
shader->info.fs.uses_sample_shading ||
shader->info.outputs_read);
shader->info.fs.uses_sample_shading);
if (devinfo->ver >= 6) {
prog_data->uses_sample_mask =