Mesa (main): zink: handle nir_op_pack_64_2x32

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 16 12:08:54 UTC 2021


Module: Mesa
Branch: main
Commit: 541af28cb28810a041c5c363b4210d65a2fbdc4f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=541af28cb28810a041c5c363b4210d65a2fbdc4f

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Apr  5 12:00:04 2021 -0400

zink: handle nir_op_pack_64_2x32

Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11392>

---

 src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
index bb47ce30078..ca46e505d6a 100644
--- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
+++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
@@ -1671,7 +1671,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
    BUILTIN_UNOP(nir_op_ifind_msb, GLSLstd450FindSMsb)
    BUILTIN_UNOP(nir_op_pack_half_2x16, GLSLstd450PackHalf2x16)
    BUILTIN_UNOP(nir_op_unpack_half_2x16, GLSLstd450UnpackHalf2x16)
-
+   BUILTIN_UNOP(nir_op_pack_64_2x32, GLSLstd450PackDouble2x32)
 #undef BUILTIN_UNOP
 
    case nir_op_frcp:



More information about the mesa-commit mailing list