vk_instance: Enable robust buffer access

* Improves stability on mali devices
This commit is contained in:
GPUCode 2023-08-20 16:52:49 +03:00
parent faf6b36f3b
commit 66c5f59627

View File

@ -463,6 +463,7 @@ bool Instance::CreateDevice() {
}, },
vk::PhysicalDeviceFeatures2{ vk::PhysicalDeviceFeatures2{
.features{ .features{
.robustBufferAccess = features.robustBufferAccess,
.geometryShader = features.geometryShader, .geometryShader = features.geometryShader,
.logicOp = features.logicOp, .logicOp = features.logicOp,
.samplerAnisotropy = features.samplerAnisotropy, .samplerAnisotropy = features.samplerAnisotropy,