mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 12:40:09 +01:00
radeonsi: add task info to screen
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37505>
This commit is contained in:
parent
73aebeec42
commit
5931dbf7ac
2 changed files with 5 additions and 0 deletions
|
|
@ -1513,6 +1513,8 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
if (!debug_get_bool_option("RADEON_DISABLE_PERFCOUNTERS", false))
|
||||
si_init_perfcounters(sscreen);
|
||||
|
||||
ac_get_task_info(&sscreen->info, &sscreen->task_info);
|
||||
|
||||
if (sscreen->debug_flags & DBG(NO_OUT_OF_ORDER))
|
||||
sscreen->info.has_out_of_order_rast = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -696,6 +696,9 @@ struct si_screen {
|
|||
/* NGG streamout. */
|
||||
simple_mtx_t gds_mutex;
|
||||
struct pb_buffer_lean *gds_oa;
|
||||
|
||||
/* mesh shader */
|
||||
struct ac_task_info task_info;
|
||||
};
|
||||
|
||||
struct si_compute {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue