radv: implement VK_EXT_sample_locations and disable it
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 May 2019 09:55:02 +0000 (11:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 30 May 2019 07:52:16 +0000 (09:52 +0200)
commitda26013eb7a216eea98b71ba6e8341a47834e3ec
tree21cdd8f9796d6cb4adaab6b94582ddef4221c7b9
parente917bb7ad4300a1943a0100114c708915324127c
radv: implement VK_EXT_sample_locations and disable it

Basically, this extension allows applications to use custom
sample locations. It doesn't support variable sample locations
during subpass. Note that we don't have to upload the user
sample locations because the spec doesn't allow this.

The extension is currently disabled because the driver needs to
support variable sample locations during layout transitions. The
depth decompress needs to know them and that's a bit invasive.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_extensions.py
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h