diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-01-22 00:34:08 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-03-07 21:18:35 +0100 |
commit | cce62f4065d3cd58b1af5a3f58261b8eace27572 (patch) | |
tree | 3b260d5746ef97c4a95b2584f465f0877af98cf0 /src | |
parent | b99b9cc864eeeb3d03c01a3cae4cd1ce39387c81 (diff) |
radv: Expose that we don't support any VK_KHR_16_bit_storage parts.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 44154d4e7b8..2959253885a 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -707,6 +707,15 @@ void radv_GetPhysicalDeviceFeatures2( features->protectedMemory = false; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: { + VkPhysicalDevice16BitStorageFeatures *features = + (VkPhysicalDevice16BitStorageFeatures*)ext; + features->storageBuffer16BitAccess = false; + features->uniformAndStorageBuffer16BitAccess = false; + features->storagePushConstant16 = false; + features->storageInputOutput16 = false; + break; + } default: break; } |