radv: add shadowregs variable to RADV_DEBUG environment variable

Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18301>
This commit is contained in:
Yogesh Mohan Marimuthu 2022-08-29 10:53:28 +05:30 committed by Marge Bot
parent 5f0fcc05c2
commit db61db7f67
3 changed files with 4 additions and 0 deletions

View file

@ -1042,6 +1042,8 @@ RADV driver environment variables
dump shaders
``shaderstats``
dump shader statistics
``shadowregs``
enable register shadowing
``spirv``
dump SPIR-V
``splitfma``

View file

@ -67,6 +67,7 @@ enum {
RADV_DEBUG_SPLIT_FMA = 1ull << 36,
RADV_DEBUG_DUMP_EPILOGS = 1ull << 37,
RADV_DEBUG_NO_FMASK = 1ull << 38,
RADV_DEBUG_SHADOW_REGS = 1ull << 39,
};
enum {

View file

@ -1086,6 +1086,7 @@ static const struct debug_control radv_debug_options[] = {
{"nodma", RADV_DEBUG_NO_DMA_BLIT},
{"epilogs", RADV_DEBUG_DUMP_EPILOGS},
{"nofmask", RADV_DEBUG_NO_FMASK},
{"shadowregs", RADV_DEBUG_SHADOW_REGS},
{NULL, 0}};
const char *