asahi: export build_meta_shader
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
committed by
Marge Bot
parent
83737cca5c
commit
c0582fcd8e
@@ -2775,7 +2775,7 @@ agx_destroy_meta_shaders(struct agx_context *ctx)
|
||||
_mesa_hash_table_destroy(ctx->generic_meta, agx_delete_compiled_shader);
|
||||
}
|
||||
|
||||
static struct agx_compiled_shader *
|
||||
struct agx_compiled_shader *
|
||||
agx_build_meta_shader(struct agx_context *ctx, meta_shader_builder_t builder,
|
||||
void *data, size_t data_size)
|
||||
{
|
||||
|
||||
@@ -1153,3 +1153,7 @@ typedef void (*meta_shader_builder_t)(struct nir_builder *b, const void *key);
|
||||
void agx_init_meta_shaders(struct agx_context *ctx);
|
||||
|
||||
void agx_destroy_meta_shaders(struct agx_context *ctx);
|
||||
|
||||
struct agx_compiled_shader *agx_build_meta_shader(struct agx_context *ctx,
|
||||
meta_shader_builder_t builder,
|
||||
void *data, size_t data_size);
|
||||
|
||||
Reference in New Issue
Block a user