From 0298c5d905cc7c775da74655cb242a8f7ee181af Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 19 Mar 2024 13:10:01 -0400 Subject: [PATCH] agx: add agx_shader_part data structure for fastlinking. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/asahi/compiler/agx_compile.h b/src/asahi/compiler/agx_compile.h index a051dceb6e1..c2d558512bf 100644 --- a/src/asahi/compiler/agx_compile.h +++ b/src/asahi/compiler/agx_compile.h @@ -123,6 +123,12 @@ struct agx_shader_info { uint16_t immediates[512]; }; +struct agx_shader_part { + struct agx_shader_info info; + void *binary; + size_t binary_size; +}; + #define AGX_MAX_RTS (8) enum agx_format {