Fix: Enable Vulkan Workarounds

Vulkan workarounds could not be enabled by using the
`--debug-gpu-force-workarounds` command line argument. This PR fixes
this.

Pull Request: https://projects.blender.org/blender/blender/pulls/114579
This commit is contained in:
Jeroen Bakker
2023-11-07 14:59:28 +01:00
parent adb2164191
commit 73b15f341e

View File

@@ -92,6 +92,7 @@ void VKBackend::detect_workarounds(VKDevice &device)
workarounds.shader_output_layer = true;
workarounds.shader_output_viewport_index = true;
device.workarounds_ = workarounds;
return;
}