mesa/src/vulkan/device-select-layer
Yonggang Luo 2eee9b79e8 util,vulkan,llvmpipe: Use os_get_option_dup instead getenv
Use os_get_option_dup in
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
src/util/tests/process_test.c
because the string is going to be modified.

Use os_get_option_dup in device_select_layer.c are because the string is being assigned to a
struct member (protection for the future), and also because the consecutive usages (protection for the present).

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Acked-by: Antonio Ospite <antonio.ospite@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38128>
2025-11-06 04:36:13 +00:00
..
.clang-format device-select: clang-format 2025-08-29 15:51:03 +00:00
device_select.c device_select: Allow shortcut names for device types 2025-08-29 15:51:06 +00:00
device_select.h device_select: Allow shortcut names for device types 2025-08-29 15:51:06 +00:00
device_select_layer.c util,vulkan,llvmpipe: Use os_get_option_dup instead getenv 2025-11-06 04:36:13 +00:00
device_select_wayland.c device-select: Fix error check. 2025-09-29 17:19:34 +02:00
device_select_x11.c device-select: clang-format 2025-08-29 15:51:03 +00:00
meson.build device-select: move get_default_device to it's own file 2025-08-29 15:51:04 +00:00
VkLayer_MESA_device_select.json.in meson: include VkLayer_MESA_device_select in the devenv 2025-06-20 21:51:17 +00:00