radv: Add rt perftest flag.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11078>
This commit is contained in:
parent
438cb7f9a3
commit
c27e3a6248
|
@ -643,6 +643,8 @@ RADV driver environment variables
|
|||
disable optimizations that get enabled when all VRAM is CPU visible.
|
||||
``pswave32``
|
||||
enable wave32 for pixel shaders (GFX10+)
|
||||
``rt``
|
||||
enable rt extensions whose implementation is still experimental.
|
||||
``sam``
|
||||
enable optimizations to move more driver internal objects to VRAM.
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@ enum {
|
|||
RADV_PERFTEST_GE_WAVE_32 = 1u << 5,
|
||||
RADV_PERFTEST_NO_SAM = 1u << 6,
|
||||
RADV_PERFTEST_SAM = 1u << 7,
|
||||
RADV_PERFTEST_RT = 1u << 8,
|
||||
};
|
||||
|
||||
bool radv_init_trace(struct radv_device *device);
|
||||
|
|
|
@ -784,13 +784,16 @@ radv_get_debug_option_name(int id)
|
|||
return radv_debug_options[id].string;
|
||||
}
|
||||
|
||||
static const struct debug_control radv_perftest_options[] = {
|
||||
{"localbos", RADV_PERFTEST_LOCAL_BOS}, {"dccmsaa", RADV_PERFTEST_DCC_MSAA},
|
||||
{"bolist", RADV_PERFTEST_BO_LIST},
|
||||
{"cswave32", RADV_PERFTEST_CS_WAVE_32}, {"pswave32", RADV_PERFTEST_PS_WAVE_32},
|
||||
{"gewave32", RADV_PERFTEST_GE_WAVE_32},
|
||||
{"nosam", RADV_PERFTEST_NO_SAM}, {"sam", RADV_PERFTEST_SAM},
|
||||
{NULL, 0}};
|
||||
static const struct debug_control radv_perftest_options[] = {{"localbos", RADV_PERFTEST_LOCAL_BOS},
|
||||
{"dccmsaa", RADV_PERFTEST_DCC_MSAA},
|
||||
{"bolist", RADV_PERFTEST_BO_LIST},
|
||||
{"cswave32", RADV_PERFTEST_CS_WAVE_32},
|
||||
{"pswave32", RADV_PERFTEST_PS_WAVE_32},
|
||||
{"gewave32", RADV_PERFTEST_GE_WAVE_32},
|
||||
{"nosam", RADV_PERFTEST_NO_SAM},
|
||||
{"sam", RADV_PERFTEST_SAM},
|
||||
{"rt", RADV_PERFTEST_RT},
|
||||
{NULL, 0}};
|
||||
|
||||
const char *
|
||||
radv_get_perftest_option_name(int id)
|
||||
|
|
Loading…
Reference in New Issue