mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-26 19:54:33 +08:00
radv: Slightly reword preoptir debug flag.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32079>
This commit is contained in:
parent
8c1e2ac03b
commit
e6eaf7b950
@ -1395,7 +1395,7 @@ RADV driver environment variables
|
||||
``novrsflatshading``
|
||||
disable VRS for flat shading (only on GFX10.3+)
|
||||
``preoptir``
|
||||
dump LLVM IR before any optimizations
|
||||
Dump backend IR (ACO or LLVM) before any optimizations.
|
||||
``prologs``
|
||||
dump vertex shader prologs
|
||||
``psocachestats``
|
||||
|
@ -24,7 +24,7 @@ enum {
|
||||
RADV_DEBUG_DUMP_SPIRV = 1ull << 9,
|
||||
RADV_DEBUG_ZERO_VRAM = 1ull << 10,
|
||||
RADV_DEBUG_SYNC_SHADERS = 1ull << 11,
|
||||
RADV_DEBUG_PREOPTIR = 1ull << 12,
|
||||
RADV_DEBUG_DUMP_PREOPT_IR = 1ull << 12,
|
||||
RADV_DEBUG_NO_DYNAMIC_BOUNDS = 1ull << 13,
|
||||
RADV_DEBUG_INFO = 1ull << 14,
|
||||
RADV_DEBUG_STARTUP = 1ull << 15,
|
||||
|
@ -39,7 +39,7 @@ static const struct debug_control radv_debug_options[] = {{"nofastclears", RADV_
|
||||
{"spirv", RADV_DEBUG_DUMP_SPIRV},
|
||||
{"zerovram", RADV_DEBUG_ZERO_VRAM},
|
||||
{"syncshaders", RADV_DEBUG_SYNC_SHADERS},
|
||||
{"preoptir", RADV_DEBUG_PREOPTIR},
|
||||
{"preoptir", RADV_DEBUG_DUMP_PREOPT_IR},
|
||||
{"nodynamicbounds", RADV_DEBUG_NO_DYNAMIC_BOUNDS},
|
||||
{"info", RADV_DEBUG_INFO},
|
||||
{"startup", RADV_DEBUG_STARTUP},
|
||||
|
@ -3002,7 +3002,7 @@ radv_fill_nir_compiler_options(struct radv_nir_compiler_options *options, struct
|
||||
options->info = &pdev->info;
|
||||
options->dump_shader = can_dump_shader;
|
||||
options->dump_ir = options->dump_shader && (instance->debug_flags & RADV_DEBUG_DUMP_BACKEND_IR);
|
||||
options->dump_preoptir = options->dump_shader && instance->debug_flags & RADV_DEBUG_PREOPTIR;
|
||||
options->dump_preoptir = options->dump_shader && (instance->debug_flags & RADV_DEBUG_DUMP_PREOPT_IR);
|
||||
options->record_asm = keep_shader_info || options->dump_shader;
|
||||
options->record_ir = keep_shader_info;
|
||||
options->record_stats = keep_statistic_info;
|
||||
|
Loading…
Reference in New Issue
Block a user