turnip: implement VK_EXT_sample_locations
authorJonathan Marek <jonathan@marek.ca>
Tue, 21 Apr 2020 16:14:23 +0000 (12:14 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Apr 2020 18:46:46 +0000 (18:46 +0000)
commita92d2e11095d9f1f8bc1188fd3d2b8391acc4591
tree9c4b47ddc2ccac739d642fc4c500843ea210e854
parent83b2f1d8cf53ec7f9defa2acdae313cdacb303af
turnip: implement VK_EXT_sample_locations

Passes tests in:

dEQP-VK.pipeline.multisample.sample_locations_ext.*

Note that these tests fail because of gl_PrimitiveID not working correctly:

dEQP-VK.pipeline.multisample.sample_locations_ext.verify_location.*

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4665>
src/freedreno/registers/a6xx.xml
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_extensions.py
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_shader.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c