anv: Enable VK_KHR_16bit_storage for PushConstant
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Fri, 23 Feb 2018 00:15:13 +0000 (01:15 +0100)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Mar 2018 05:37:40 +0000 (21:37 -0800)
Enables storagePushConstant16 features of VK_KHR_16bit_storage for Gen8+.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c

index e42b05d4fa76b307cb775c280f17046574724801..78cd0da17903818d144300707b367d0995d3d507 100644 (file)
@@ -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;
       }