Vulkan: Select Compatible Render Surface #108169

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:vulkan-surface-selection into main 2023-05-23 11:03:59 +02:00

1 Commits

Author SHA1 Message Date
Jeroen Bakker fa66d2848a Vulkan: Select Compatible Render Surface
In previous implementation the first available render surface was
selected. For NVIDIA platform this was the correct one, but for
AMD and Intel GPUs this was incorrect. This PR goes over all the
available render surfaces and selects a compatible one.

For now when no compatible render surface is found it will still select
the first available one. With the expectation that the screen is drawn
incorrectly and users would report a bug so we can investigate.
2023-05-23 10:29:06 +02:00