Vulkan: Enable Optional Vulkan 12 Features #114303

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:vulkan/enable-vulkan12-features into main 2023-10-31 08:37:41 +01:00

2 Commits

Author SHA1 Message Date
Jeroen Bakker b930307306 Deconfuse device_create_info stack. 2023-10-31 08:33:09 +01:00
Jeroen Bakker 203781e3dd Vulkan: Enable Optional Vulkan 12 Features
`shaderOutputLayer` and `shaderOutputViewportIndex` are optional in
Blender, but when used they should be activated. This wasn't the case
and when used the validation layer reported an error.

This PR activates the features when creating the device if the features
are available.
2023-10-31 08:17:47 +01:00