WIP: Vulkan: Device Selection #109001

Draft
Jeroen Bakker wants to merge 2 commits from Jeroen-Bakker/blender:vulkan-device-selection into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

2 Commits

Author SHA1 Message Date
c41097b58b Merge branch 'main' into vulkan-device-selection 2023-06-16 15:25:08 +02:00
6df36e4182 Vulkan: Device Selection
This PR allows to select a device to be used by the Vulkan backend.
Current approach is that it is a command line argument.
`--gpu-device` folowing the index of the device you want to select

**TODO**

- [ ] Provide a list of devices to choose from
- [ ] Selecting a non presenting device has artifacts
- [ ] Add user pref option
- [ ] User decision, should we select device even when it doesn't have
      all needed requirements. eg exit on wrong choice.
- [ ] Document the API
2023-06-15 09:58:17 +02:00