[Mesa-dev] [PATCH 14/16] radv: Expose that we don't support any VK_KHR_16_bit_storage parts.
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Wed Mar 7 14:47:42 UTC 2018
Reviewed-by: Dave Airlie <airlied at redhat.com>
---
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 67f9cd6b1a..8f2f9b4606 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.16.1
More information about the mesa-dev
mailing list