mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radv: Add bolist RADV_PERFTEST flag.
To test global_bo_list performance. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
dbab755ecf
commit
a589d8c0ab
2 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ enum {
|
|||
RADV_PERFTEST_LOCAL_BOS = 0x4,
|
||||
RADV_PERFTEST_OUT_OF_ORDER = 0x8,
|
||||
RADV_PERFTEST_DCC_MSAA = 0x10,
|
||||
RADV_PERFTEST_BO_LIST = 0x20,
|
||||
};
|
||||
|
||||
bool
|
||||
|
|
|
|||
|
|
@ -476,6 +476,7 @@ static const struct debug_control radv_perftest_options[] = {
|
|||
{"sisched", RADV_PERFTEST_SISCHED},
|
||||
{"localbos", RADV_PERFTEST_LOCAL_BOS},
|
||||
{"dccmsaa", RADV_PERFTEST_DCC_MSAA},
|
||||
{"bolist", RADV_PERFTEST_BO_LIST},
|
||||
{NULL, 0}
|
||||
};
|
||||
|
||||
|
|
@ -1729,6 +1730,7 @@ VkResult radv_CreateDevice(
|
|||
* from the descriptor set anymore, so we have to use a global BO list.
|
||||
*/
|
||||
device->use_global_bo_list =
|
||||
(device->instance->perftest_flags & RADV_PERFTEST_BO_LIST) ||
|
||||
device->enabled_extensions.EXT_descriptor_indexing ||
|
||||
device->enabled_extensions.EXT_buffer_device_address;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue