radeonsi: move AMD_DEBUG tests to AMD_TEST
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 21 Jan 2020 17:46:28 +0000 (18:46 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 27 Jan 2020 08:29:10 +0000 (09:29 +0100)
commita803d4124820179e448c569a1531cc7599a46471
tree6d025c15a2db35c5a459610d3f8a65a0a63b4252
parent58ba7b696ddd8c038188d414584e77aae35efe54
radeonsi: move AMD_DEBUG tests to AMD_TEST

AMD_DEBUG env var is stored in a 64 bits int and has 64 different values.
This commit makes some space by moving the test* special values to AMD_TEST.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3492>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h