[Mesa-dev] [PATCH v4 36/44] anv: Enable VK_KHR_16bit_storage for input/output

Jose Maria Casanova Crespo jmcasanova at igalia.com
Thu Nov 30 02:57:16 UTC 2017


Enables storageInputOutput16 feature of VK_KHR_16bit_storage
for Gen8+.
---
 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 2e5b914480..26c0ace1ca 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -734,7 +734,7 @@ void anv_GetPhysicalDeviceFeatures2KHR(
          features->storageBuffer16BitAccess = pdevice->info.gen >= 8;
          features->uniformAndStorageBuffer16BitAccess = pdevice->info.gen >= 8;
          features->storagePushConstant16 = false;
-         features->storageInputOutput16 = false;
+         features->storageInputOutput16 = pdevice->info.gen >= 8;
          break;
       }
 
-- 
2.14.3



More information about the mesa-dev mailing list