crocus: set clear_buffer = u_default_clear_buffer
This is required when crocus is enabled in rusticl, the lack of it contributes to this error: thread '<unnamed>' panicked at 'Context missing features. This should never happen!', ../src/gallium/frontends/rusticl/mesa/pipe/context.rs:44:13 Signed-off-by: Thomas Debesse <dev@illwieckz.net> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19001>
This commit is contained in:
committed by
Marge Bot
parent
e74e82ea77
commit
d375a0ff8a
@@ -2029,6 +2029,7 @@ void
|
||||
crocus_init_resource_functions(struct pipe_context *ctx)
|
||||
{
|
||||
ctx->flush_resource = crocus_flush_resource;
|
||||
ctx->clear_buffer = u_default_clear_buffer;
|
||||
ctx->invalidate_resource = crocus_invalidate_resource;
|
||||
ctx->buffer_map = u_transfer_helper_transfer_map;
|
||||
ctx->texture_map = u_transfer_helper_transfer_map;
|
||||
|
||||
Reference in New Issue
Block a user