From 3634791baab462161994ab614a98ba1c1f4f4643 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 11 Aug 2023 10:11:44 -0400 Subject: [PATCH] agx: Fix 64-bit immediate moves Don't truncate them in the builder. Fixes: dEQP-VK.spirv_assembly.instruction.compute.convertutof.uint64_to_float32_4294967296 Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_opcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/compiler/agx_opcodes.py b/src/asahi/compiler/agx_opcodes.py index b8bb24b..daad9fd 100644 --- a/src/asahi/compiler/agx_opcodes.py +++ b/src/asahi/compiler/agx_opcodes.py @@ -65,7 +65,7 @@ L = (1 << 15) _ = None FORMAT = immediate("format", "enum agx_format") -IMM = immediate("imm") +IMM = immediate("imm", "uint64_t") WRITEOUT = immediate("writeout") INDEX = immediate("index") COMPONENT = immediate("component") -- 2.7.4