mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
e3fd1b0ac0
commit
89a53f048a
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue