anv: Drop alpha_to_coverage from the NULL FS optimization
authorJason Ekstrand <jason.ekstrand@collabora.com>
Fri, 13 May 2022 22:01:06 +0000 (17:01 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 27 May 2022 14:33:53 +0000 (14:33 +0000)
commit9fe6caf4e707bad36c60262b5f28407309f922c7
tree91dd6b2b6fb047e26d1279ab83934ede3c6a4d45
parent1b9248e761d7ff04415326de18f8fc2468bcbcd3
anv: Drop alpha_to_coverage from the NULL FS optimization

Starting with Ivy Bridge, we implement alpha-to-coverage by writting
gl_SampleMask with a pattern based on alpha.  This will show up in
wm_prog_data::uses_omask so we don't need to look at the key.

Fixes: 36ee2fd61c8f ("anv: Implement the basic form of VK_EXT_transform_feedback")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16506>
src/intel/vulkan/anv_pipeline.c