From b586c294fc192534cc5fb47f99f5ffec3a1837ff Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 19 Sep 2024 18:37:50 -0400 Subject: [PATCH] asahi: fix speculation of rgb32 loads kinda silly but hey. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/shaders/texture.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/lib/shaders/texture.cl b/src/asahi/lib/shaders/texture.cl index 1217ee641e5..af9d432a2c6 100644 --- a/src/asahi/lib/shaders/texture.cl +++ b/src/asahi/lib/shaders/texture.cl @@ -217,7 +217,7 @@ libagx_texture_load_rgb32(constant struct agx_texture_packed *ptr, uint coord, bool is_float) { agx_unpack(NULL, ptr, TEXTURE, d); - global uint3 *data = (global uint3 *)(d.address + 12 * coord); + constant uint3 *data = (constant uint3 *)(d.address + 12 * coord); return (uint4)(*data, is_float ? as_uint(1.0f) : 1); }