diff options
author | Jose Maria Casanova Crespo <[email protected]> | 2018-02-23 01:15:13 +0100 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-02-28 21:37:40 -0800 |
commit | ba642ee3ee36d7aefd21e8b8d4da0c5c24ec0ec8 (patch) | |
tree | afabbe1cfb730b120ba413f03a29b83d861bb6e9 /src/intel | |
parent | 02266f9ba1990eac655ae98b5febf298cc2d33d8 (diff) |
anv: Enable VK_KHR_16bit_storage for PushConstant
Enables storagePushConstant16 features of VK_KHR_16bit_storage for Gen8+.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |