From fe92abf82b24220707daa79c9a940576c805dae1 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 25 Nov 2024 08:17:39 -0500 Subject: [PATCH] agx: reduce preamble/main alignment this was overkill. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c index dbd4f6eaad3..36fc03d5a08 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -26,8 +26,8 @@ #include "nir_intrinsics_indices.h" #include "shader_enums.h" -/* Alignment for shader programs. I'm not sure what the optimal value is. */ -#define AGX_CODE_ALIGN 0x100 +/* Cache-line align shader programs. This matches the prop compiler. */ +#define AGX_CODE_ALIGN 0x80 /* clang-format off */ static const struct debug_named_value agx_debug_options[] = {