diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2019-10-15 09:03:28 +0200 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2020-01-15 08:42:25 -0600 |
commit | 0eb26aae1cee913ce0b2bd60ef4a1ad5e55bced2 (patch) | |
tree | 0ad1660719e50f252dd17d478c3091b78162b37d /src/amd | |
parent | b4eed4e548aac35182ba39cf86f8838507bcef6f (diff) |
radv: update VK_KHR_8bit_storage for Vulkan 1.2
Promoted to Vulkan 1.2 with the KHR suffix omitted.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 20db56d4562..76e191a93a8 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1084,9 +1084,9 @@ void radv_GetPhysicalDeviceFeatures2( features->hostQueryReset = true; break; } - case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR: { - VkPhysicalDevice8BitStorageFeaturesKHR *features = - (VkPhysicalDevice8BitStorageFeaturesKHR*)ext; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: { + VkPhysicalDevice8BitStorageFeatures *features = + (VkPhysicalDevice8BitStorageFeatures *)ext; bool enabled = pdevice->rad_info.chip_class >= GFX8 && !pdevice->use_aco; features->storageBuffer8BitAccess = enabled; features->uniformAndStorageBuffer8BitAccess = enabled; |