anv: Enable VK_KHR_16bit_storage for PushConstant
Enables storagePushConstant16 features of VK_KHR_16bit_storage for Gen8+. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:

committed by
Jason Ekstrand

parent
02266f9ba1
commit
ba642ee3ee
@@ -797,7 +797,7 @@ void anv_GetPhysicalDeviceFeatures2KHR(
|
|||||||
|
|
||||||
features->storageBuffer16BitAccess = pdevice->info.gen >= 8;
|
features->storageBuffer16BitAccess = pdevice->info.gen >= 8;
|
||||||
features->uniformAndStorageBuffer16BitAccess = pdevice->info.gen >= 8;
|
features->uniformAndStorageBuffer16BitAccess = pdevice->info.gen >= 8;
|
||||||
features->storagePushConstant16 = false;
|
features->storagePushConstant16 = pdevice->info.gen >= 8;
|
||||||
features->storageInputOutput16 = false;
|
features->storageInputOutput16 = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user