anv: Use sampleLocationsEnable for sample locations
authorMykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com>
Sun, 19 Jun 2022 20:56:12 +0000 (23:56 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 20 Jun 2022 11:58:09 +0000 (11:58 +0000)
commit50b21fb6e41c3d7f91c96c8c8d8e88ee434b7d78
tree1d70f58edec35e8f959256d7efe428f6ecf36ac1
parent419b8c7f8d8d21e08ea22ddaf1d5ef6908c289af
anv: Use sampleLocationsEnable for sample locations

The spec says: "sampleLocationsEnable controls whether custom sample
locations are used. If sampleLocationsEnable is VK_FALSE, the default
sample locations are used and the values specified in
sampleLocationsInfo are ignored."

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6675
Signed-off-by: Mykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17134>
src/intel/vulkan/anv_pipeline.c