brw: make coarse pixel bit available to NIR lowering

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38996>
This commit is contained in:
Lionel Landwerlin 2025-12-18 17:19:07 +02:00 committed by Marge Bot
parent e3fd1b0ac0
commit 89a53f048a

View file

@ -1578,6 +1578,9 @@ brw_compile_fs(const struct brw_compiler *compiler,
INTEL_MSAA_FLAG_PERSAMPLE_INTERP;
}
if (prog_data->coarse_pixel_dispatch == INTEL_ALWAYS)
f |= INTEL_MSAA_FLAG_COARSE_RT_WRITES;
NIR_PASS(_, nir, nir_inline_sysval, nir_intrinsic_load_fs_msaa_intel, f);
}