From ba642ee3ee36d7aefd21e8b8d4da0c5c24ec0ec8 Mon Sep 17 00:00:00 2001 From: Jose Maria Casanova Crespo Date: Fri, 23 Feb 2018 01:15:13 +0100 Subject: [PATCH] anv: Enable VK_KHR_16bit_storage for PushConstant Enables storagePushConstant16 features of VK_KHR_16bit_storage for Gen8+. Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index e42b05d4fa7..78cd0da1790 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -797,7 +797,7 @@ void anv_GetPhysicalDeviceFeatures2KHR( features->storageBuffer16BitAccess = pdevice->info.gen >= 8; features->uniformAndStorageBuffer16BitAccess = pdevice->info.gen >= 8; - features->storagePushConstant16 = false; + features->storagePushConstant16 = pdevice->info.gen >= 8; features->storageInputOutput16 = false; break; } -- 2.30.2