From: Jose Maria Casanova Crespo Date: Fri, 23 Feb 2018 00:15:13 +0000 (+0100) Subject: anv: Enable VK_KHR_16bit_storage for PushConstant X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba642ee3ee36d7aefd21e8b8d4da0c5c24ec0ec8;p=mesa.git anv: Enable VK_KHR_16bit_storage for PushConstant Enables storagePushConstant16 features of VK_KHR_16bit_storage for Gen8+. Reviewed-by: Jason Ekstrand --- 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; }