turnip: Always enable TU_DEBUG=startup on debug drivers.
authorEric Anholt <eric@anholt.net>
Mon, 5 Oct 2020 21:31:26 +0000 (14:31 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 5 Oct 2020 22:42:14 +0000 (22:42 +0000)
commit50f25da2b54110d5ae0bea882f9e9faaf8cd2cf1
treecb6f2e03b1c3b444d2a74b0c700881d2730b55aa
parenta4d9a9d11c3c90a8a1580f3476bc184b668b3b2a
turnip: Always enable TU_DEBUG=startup on debug drivers.

For Android, it's hard to inject environment variables for testing, and I
figure if you've got a debug driver then you'd love to see about driver
init failures anyway.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7014>
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_private.h