From cce62f4065d3cd58b1af5a3f58261b8eace27572 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 22 Jan 2018 00:34:08 +0100 Subject: [PATCH] radv: Expose that we don't support any VK_KHR_16_bit_storage parts. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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; } -- 2.30.2