intel/fs: disable VRS when omask is written
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 14 Jan 2022 09:03:34 +0000 (11:03 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Jan 2022 19:14:06 +0000 (19:14 +0000)
commit30a8b8d2df466100aabe0efcf09af714246b2fb3
tree93ecb99c3d6cecf34b0fbcf608bc9b1a2c98df8f
parent37fa59fa6c1567bf2c745ee8f8709cd3cc275f44
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: b6332fc4a8ae58 ("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>
src/intel/compiler/brw_fs.cpp