mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
radeonsi: remove r600_pipe_common::barrier_flags::compute_to_L2
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
c0d44fe0e9
commit
4d1fe8f964
3 changed files with 1 additions and 8 deletions
|
|
@ -428,11 +428,6 @@ struct r600_common_screen {
|
|||
* that end in L2 are seen by CP.
|
||||
*/
|
||||
unsigned L2_to_cp;
|
||||
|
||||
/* Context flags to set so that all writes from earlier
|
||||
* compute jobs are seen by L2 clients.
|
||||
*/
|
||||
unsigned compute_to_L2;
|
||||
} barrier_flags;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1768,7 +1768,7 @@ static void r600_query_hw_get_result_resource(struct r600_common_context *rctx,
|
|||
}
|
||||
|
||||
rctx->b.launch_grid(&rctx->b, &grid);
|
||||
rctx->flags |= rctx->screen->barrier_flags.compute_to_L2;
|
||||
rctx->flags |= SI_CONTEXT_CS_PARTIAL_FLUSH;
|
||||
}
|
||||
|
||||
r600_restore_qbo_state(rctx, &saved_state);
|
||||
|
|
|
|||
|
|
@ -842,8 +842,6 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws,
|
|||
sscreen->b.barrier_flags.L2_to_cp |= SI_CONTEXT_WRITEBACK_GLOBAL_L2;
|
||||
}
|
||||
|
||||
sscreen->b.barrier_flags.compute_to_L2 = SI_CONTEXT_CS_PARTIAL_FLUSH;
|
||||
|
||||
if (debug_get_bool_option("RADEON_DUMP_SHADERS", false))
|
||||
sscreen->b.debug_flags |= DBG_ALL_SHADERS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue