mesa/src
prashanth 09e4fd1d84 vulkan/device_select: force default device if environment variable set
Force default device if MESA_VK_DEVICE_SELECT_FORCE_DEFAULT_DEVICE
environment variable set. This will not give multiple device
options to app. There are apps that selects gpu to use based on its
own criteria, this patch can force default behaviour for these apps
by giving only one gpu device to select from.

v2: return 0 if no physical device present (Mihai Preda)
v3: document environment variables (Mihai Preda)(Marek Olšák)

Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15585>
2022-04-28 08:05:40 +00:00
..
amd radv: use correct push constants range for internal operations 2022-04-27 15:08:59 +00:00
android_stub
asahi asahi: Port driver to macOS 12.x ABI 2022-03-22 00:19:30 +00:00
broadcom v3d/simulator: add support for AMD cards 2022-04-27 14:42:23 +00:00
compiler nir: Don't optimize to 64 bit fsub if the driver doesn't support it 2022-04-27 00:01:20 +00:00
drm-shim drm-shim: Implement a shim function for close 2022-04-12 10:01:39 +00:00
egl win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00
etnaviv etnaviv: fill all minor GPU features from the kernel 2022-04-27 09:10:27 +00:00
freedreno freedreno/drm/virtio: Split up large uploads 2022-04-27 23:10:00 +00:00
gallium llvmpipe: add user memory resources to the debug global list. 2022-04-28 11:06:01 +10:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx/kopper: Wire up a way for SwapBuffers to fail 2022-04-27 21:50:16 +00:00
gtest
hgl
imagination pvr: replace p_compiler.h boolean with stdbool 2022-04-21 12:52:52 +00:00
imgui
intel isl: disable mcs (and mcs+ccs) for color msaa on DG2 2022-04-28 05:31:52 +00:00
loader gallium/dri: add missing PIPE_BIND_DRI_PRIME handling 2022-02-08 00:13:07 +00:00
mapi win32: Do not use BUILD_GL32, we use def file to export win32 dll symbols. 2022-04-19 19:38:47 +00:00
mesa mesa/st: call pipe->link_shader even if ir loaded from cache when linking 2022-04-25 14:06:19 +00:00
microsoft dzn: Fix the STATIC_ASSERT() in dzn_meta_blits_get_context() 2022-04-22 20:45:04 +00:00
nouveau Use proper types for meson objects 2022-04-18 13:03:08 +03:00
panfrost panfrost: Fix pack_32_2x16 implementation 2022-04-27 15:30:09 +00:00
tool ci: Use a dlclose-disabling preload library for leak checking in Vulkan. 2022-01-27 23:47:46 +00:00
util radv: allow to disable sinking of load inputs for FS via drirc 2022-04-27 13:00:36 +02:00
virtio freedreno/drm/virtio: Protocol updates 2022-04-27 23:10:00 +00:00
vulkan vulkan/device_select: force default device if environment variable set 2022-04-28 08:05:40 +00:00
meson.build microsoft: Initial vulkan-on-12 driver 2022-03-25 16:21:45 +00:00