intel/fs: disable VRS when omask is written
As indicated by
VkPhysicalDeviceFragmentShadingRatePropertiesKHR::fragmentShadingRateWithShaderSampleMask
our implementation will clamp to 1x1 when reading samplemask or
writing to samplemask.
This fixes vkd3d-proton tests test_sample_mask_dxbc & test_sample_mask_dxil
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: b6332fc4a8
("intel/compiler: handle coarse pixel in render target writes descriptors")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14553>
This commit is contained in:
parent
37fa59fa6c
commit
30a8b8d2df
|
@ -9552,6 +9552,7 @@ brw_nir_populate_wm_prog_data(const nir_shader *shader,
|
|||
|
||||
prog_data->per_coarse_pixel_dispatch =
|
||||
key->coarse_pixel &&
|
||||
!prog_data->uses_omask &&
|
||||
!prog_data->persample_dispatch &&
|
||||
!prog_data->uses_sample_mask &&
|
||||
(prog_data->computed_depth_mode == BRW_PSCDEPTH_OFF) &&
|
||||
|
|
Loading…
Reference in New Issue