vulkan: Add a way to specify a device

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 10 January 2018 01:33 EST

We should be smarter in picking a good device eventually, but for now, we just allow to explicitly choose one. To see a list of all devices, use GDK_VULKAN_DEVICE=list

To specify which device to use, use GDK_VULKAN_DEVICE=

ccdeaab1f9 vulkan: Add a way to specify a device
gdk/gdkvulkancontext.c | 107 ++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 87 insertions(+), 20 deletions(-)

Upstream: git.gnome.org


  • Share