From 0e7fdd3c55792bae76ef48aaf32439220006f722 Mon Sep 17 00:00:00 2001 From: bacqube2 Date: Tue, 14 Feb 2023 10:21:16 +0100 Subject: [PATCH] Fixing bad vconv32_t usage --- OpenCL/inc_hash_blake2s.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCL/inc_hash_blake2s.cl b/OpenCL/inc_hash_blake2s.cl index 06d6f857b..c10006068 100644 --- a/OpenCL/inc_hash_blake2s.cl +++ b/OpenCL/inc_hash_blake2s.cl @@ -72,7 +72,7 @@ DECLSPEC u32 blake2s_rot08_S (const u32 a) vconv32_t out; - out.v32 = hc_byte_perm_S (in.v32.b, in.v32.a, 0x0321); + out.v32 = hc_byte_perm_S (in.v32, in.v32, 0x0321); return out.v32; @@ -84,7 +84,7 @@ DECLSPEC u32 blake2s_rot08_S (const u32 a) vconv32_t out; - out.v32 = hc_byte_perm_S (in.v32.b, in.v32.a, 0x00030201); + out.v32 = hc_byte_perm_S (in.v32, in.v32, 0x00030201); return out.v32;