diff options
author | Samuel Pitoiset <[email protected]> | 2019-05-16 11:55:02 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-05-30 09:52:16 +0200 |
commit | da26013eb7a216eea98b71ba6e8341a47834e3ec (patch) | |
tree | 21cdd8f9796d6cb4adaab6b94582ddef4221c7b9 /src/amd/vulkan/radv_extensions.py | |
parent | e917bb7ad4300a1943a0100114c708915324127c (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_extensions.py')
-rw-r--r-- | src/amd/vulkan/radv_extensions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index 0b5af56a435..d6e9d5c034b 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -119,6 +119,7 @@ EXTENSIONS = [ Extension('VK_EXT_memory_priority', 1, True), Extension('VK_EXT_pci_bus_info', 2, True), Extension('VK_EXT_pipeline_creation_feedback', 1, True), + Extension('VK_EXT_sample_locations', 1, False), Extension('VK_EXT_sampler_filter_minmax', 1, 'device->rad_info.chip_class >= GFX7'), Extension('VK_EXT_scalar_block_layout', 1, 'device->rad_info.chip_class >= GFX7'), Extension('VK_EXT_shader_viewport_index_layer', 1, True), |