mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
asahi: Implement texture_barrier trivially
For the advanced blending tests. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19871>
This commit is contained in:
parent
03dc4bc3e8
commit
bbe7d8e4f5
1 changed files with 8 additions and 0 deletions
|
|
@ -2019,6 +2019,13 @@ agx_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
|
|||
assert(batch == agx_get_batch(ctx) && "batch should not change under us");
|
||||
}
|
||||
|
||||
static void
|
||||
agx_texture_barrier(struct pipe_context *pipe, unsigned flags)
|
||||
{
|
||||
struct agx_context *ctx = agx_context(pipe);
|
||||
agx_flush_all(ctx, "Texture barrier");
|
||||
}
|
||||
|
||||
void agx_init_state_functions(struct pipe_context *ctx);
|
||||
|
||||
void
|
||||
|
|
@ -2064,4 +2071,5 @@ agx_init_state_functions(struct pipe_context *ctx)
|
|||
ctx->create_stream_output_target = agx_create_stream_output_target;
|
||||
ctx->stream_output_target_destroy = agx_stream_output_target_destroy;
|
||||
ctx->set_stream_output_targets = agx_set_stream_output_targets;
|
||||
ctx->texture_barrier = agx_texture_barrier;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue