Module: Mesa Branch: master Commit: ba642ee3ee36d7aefd21e8b8d4da0c5c24ec0ec8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba642ee3ee36d7aefd21e8b8d4da0c5c24ec0ec8
Author: Jose Maria Casanova Crespo <jmcasan...@igalia.com> Date: Fri Feb 23 01:15:13 2018 +0100 anv: Enable VK_KHR_16bit_storage for PushConstant Enables storagePushConstant16 features of VK_KHR_16bit_storage for Gen8+. Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> --- 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 e42b05d4fa..78cd0da179 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; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit