From 663d957480b7752ffb5f90657ac424d1260cf5e9 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Tue, 23 May 2023 15:48:22 -0700 Subject: [PATCH] nir: Fix constant expression for unpack_64_4x16 Cc: Mesa-stable Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir_opcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py index cbccf17..abdbccd 100644 --- a/src/compiler/nir/nir_opcodes.py +++ b/src/compiler/nir/nir_opcodes.py @@ -423,7 +423,7 @@ unop_horiz("unpack_64_2x32", 2, tuint32, 1, tuint64, "dst.x = src0.x; dst.y = src0.x >> 32;") unop_horiz("unpack_64_4x16", 4, tuint16, 1, tuint64, - "dst.x = src0.x; dst.y = src0.x >> 16; dst.z = src0.x >> 32; dst.w = src0.w >> 48;") + "dst.x = src0.x; dst.y = src0.x >> 16; dst.z = src0.x >> 32; dst.w = src0.x >> 48;") unop_horiz("unpack_32_2x16", 2, tuint16, 1, tuint32, "dst.x = src0.x; dst.y = src0.x >> 16;") -- 2.7.4