Mesa (main): zink: implement nir_op_unpack_64_2x32 in ntv

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 10 02:49:40 UTC 2022


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu May 26 21:24:40 2022 -0400

zink: implement nir_op_unpack_64_2x32 in ntv

it's really annoying to not have the full suite of these, so just do it

Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>

---

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

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 aa4b58be82f..cfbc945e026 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
@@ -2088,6 +2088,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
 
    BUILTIN_UNOPF(nir_op_unpack_half_2x16, GLSLstd450UnpackHalf2x16)
    BUILTIN_UNOPF(nir_op_pack_64_2x32, GLSLstd450PackDouble2x32)
+   BUILTIN_UNOPF(nir_op_unpack_64_2x32, GLSLstd450UnpackDouble2x32)
 #undef BUILTIN_UNOP
 #undef BUILTIN_UNOPF
 



More information about the mesa-commit mailing list