radeonsi: Fix some comments to also include GFX11.5
Just a nitpick. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37121>
This commit is contained in:
@@ -2218,7 +2218,7 @@ static void si_draw(struct pipe_context *ctx,
|
||||
index_offset -= start_offset;
|
||||
} else if ((GFX_VERSION <= GFX7 || GFX_VERSION == GFX12) &&
|
||||
si_resource(indexbuf)->L2_cache_dirty) {
|
||||
/* GFX8-GFX11 reads index buffers through L2, so it doesn't
|
||||
/* GFX8-GFX11.5 reads index buffers through L2, so it doesn't
|
||||
* need this. */
|
||||
sctx->barrier_flags |= SI_BARRIER_WB_L2 | SI_BARRIER_PFP_SYNC_ME;
|
||||
si_mark_atom_dirty(sctx, &sctx->atoms.s.barrier);
|
||||
@@ -2232,7 +2232,7 @@ static void si_draw(struct pipe_context *ctx,
|
||||
unsigned total_direct_count = 0;
|
||||
|
||||
if (!IS_DRAW_VERTEX_STATE && indirect) {
|
||||
/* Indirect buffers use L2 on GFX9-GFX11, but not other hw. */
|
||||
/* Indirect buffers use L2 on GFX9-GFX11.5, but not other hw. */
|
||||
if (GFX_VERSION <= GFX8 || GFX_VERSION == GFX12) {
|
||||
if (indirect->buffer && si_resource(indirect->buffer)->L2_cache_dirty) {
|
||||
sctx->barrier_flags |= SI_BARRIER_WB_L2 | SI_BARRIER_PFP_SYNC_ME;
|
||||
|
||||
Reference in New Issue
Block a user