Home
last modified time | relevance | path

Searched refs:dcc_stats (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c2033 if (sctx->dcc_stats[slot].query_active) in vi_dcc_clean_up_context_slot()
2034 vi_separate_dcc_stop_query(sctx, sctx->dcc_stats[slot].tex); in vi_dcc_clean_up_context_slot()
2036 for (i = 0; i < ARRAY_SIZE(sctx->dcc_stats[slot].ps_stats); i++) in vi_dcc_clean_up_context_slot()
2037 if (sctx->dcc_stats[slot].ps_stats[i]) { in vi_dcc_clean_up_context_slot()
2038 sctx->b.destroy_query(&sctx->b, sctx->dcc_stats[slot].ps_stats[i]); in vi_dcc_clean_up_context_slot()
2039 sctx->dcc_stats[slot].ps_stats[i] = NULL; in vi_dcc_clean_up_context_slot()
2042 si_texture_reference(&sctx->dcc_stats[slot].tex, NULL); in vi_dcc_clean_up_context_slot()
2053 for (i = 0; i < ARRAY_SIZE(sctx->dcc_stats); i++) in vi_get_context_dcc_stats_index()
2054 if (sctx->dcc_stats[i].tex && sctx->dcc_stats[i].tex->buffer.b.b.reference.count == 1) in vi_get_context_dcc_stats_index()
2058 for (i = 0; i < ARRAY_SIZE(sctx->dcc_stats); i++) { in vi_get_context_dcc_stats_index()
[all …]
Dsi_pipe.c267 for (int i = 0; i < ARRAY_SIZE(sctx->dcc_stats); i++) { in si_destroy_context()
268 assert(!sctx->dcc_stats[i].query_active); in si_destroy_context()
270 for (int j = 0; j < ARRAY_SIZE(sctx->dcc_stats[i].ps_stats); j++) in si_destroy_context()
271 if (sctx->dcc_stats[i].ps_stats[j]) in si_destroy_context()
272 sctx->b.destroy_query(&sctx->b, sctx->dcc_stats[i].ps_stats[j]); in si_destroy_context()
274 si_texture_reference(&sctx->dcc_stats[i].tex, NULL); in si_destroy_context()
Dsi_pipe.h1277 } dcc_stats[5]; member