From: Bas Nieuwenhuizen Date: Sun, 21 Jan 2018 23:34:08 +0000 (+0100) Subject: radv: Expose that we don't support any VK_KHR_16_bit_storage parts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cce62f4065d3cd58b1af5a3f58261b8eace27572;p=mesa.git radv: Expose that we don't support any VK_KHR_16_bit_storage parts. Reviewed-by: Dave Airlie --- 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; }