mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
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:
parent
5f0fcc05c2
commit
db61db7f67
3 changed files with 4 additions and 0 deletions
|
|
@ -1042,6 +1042,8 @@ RADV driver environment variables
|
|||
dump shaders
|
||||
``shaderstats``
|
||||
dump shader statistics
|
||||
``shadowregs``
|
||||
enable register shadowing
|
||||
``spirv``
|
||||
dump SPIR-V
|
||||
``splitfma``
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue