From 01aa487c4077a516cdd5e77e2c00da2ab8145c6e Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 30 Aug 2023 11:21:13 +0200 Subject: [PATCH] asahi: implement clear_buffer Signed-off-by: Karol Herbst Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/asahi/agx_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index 4447f5c..162bb54 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -1478,6 +1478,7 @@ agx_create_context(struct pipe_screen *screen, void *priv, unsigned flags) pctx->transfer_flush_region = u_transfer_helper_transfer_flush_region; pctx->buffer_subdata = u_default_buffer_subdata; + pctx->clear_buffer = u_default_clear_buffer; pctx->texture_subdata = u_default_texture_subdata; pctx->set_debug_callback = u_default_set_debug_callback; pctx->get_sample_position = u_default_get_sample_position; -- 2.7.4