loader: add DRI_PRIME_DEBUG env var
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 12 Jan 2023 12:37:53 +0000 (13:37 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Sep 2023 07:45:27 +0000 (07:45 +0000)
commitea84b85887a147b38a2a168e37c3d1f19c94b1b3
tree1b1ddf607547fd759c16f45d99d56da8e03726e3
parentb8d0b1ceb59a567c2b2e37582e6c266d96f539a1
loader: add DRI_PRIME_DEBUG env var

This makes debugging non-working DRI_PRIME selection much easier.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24750>
src/loader/loader.c