From: Chris Duncan Date: Tue, 14 Jan 2025 21:49:58 +0000 (-0800) Subject: Remove last instances of original v scalar variables. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=c1aabb44d53a5d7fbb0d67cf550e9032f77448c6;p=nano-pow.git Remove last instances of original v scalar variables. --- diff --git a/src/shaders/compute.wgsl b/src/shaders/compute.wgsl index b4327d4..7a79087 100644 --- a/src/shaders/compute.wgsl +++ b/src/shaders/compute.wgsl @@ -74,15 +74,6 @@ fn main(@builtin(global_invocation_id) id: vec3) { var v_2829: vec2 = vec2(0x04BE4294u, 0xE07C2654u); var v_3031: vec2 = vec2(0x137E2179u, 0x5BE0CD19u); - var v24: u32 = 0xADE682F9u; - var v25: u32 = 0x510E527Fu; - var v26: u32 = 0x2B3E6C1Fu; - var v27: u32 = 0x9B05688Cu; - var v28: u32 = 0x04BE4294u; - var v29: u32 = 0xE07C2654u; - var v30: u32 = 0x137E2179u; - var v31: u32 = 0x5BE0CD19u; - /** * Twelve rounds of G mixing as part of BLAKE2b compression step. * Each sigma r index correlates with the reference implementation, but each @@ -106,19 +97,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_01 = v_01 + vec2(m0, m1) + select(vec2(0u), vec2(0u, 1u), v_01.x + m0 < v_01.x); // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) xor = v_89 ^ v_1617; @@ -131,19 +122,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_01 = v_01 + vec2(m2, m3) + select(vec2(0u), vec2(0u, 1u), v_01.x + m2 < v_01.x); // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) xor = v_89 ^ v_1617; @@ -164,19 +155,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_23 = v_23 + vec2(m4, m5) + select(vec2(0u), vec2(0u, 1u), v_23.x + m4 < v_23.x); // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) xor = v_1011 ^ v_1819; @@ -189,19 +180,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_23 = v_23 + vec2(m6, m7) + select(vec2(0u), vec2(0u, 1u), v_23.x + m6 < v_23.x); // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) xor = v_1011 ^ v_1819; @@ -222,19 +213,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_45 = v_45 + vec2(m8, m9) + select(vec2(0u), vec2(0u, 1u), v_45.x + m8 < v_45.x); // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) xor = v_1213 ^ v_2021; @@ -247,19 +238,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) xor = v_1213 ^ v_2021; @@ -280,19 +271,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) xor = v_1415 ^ v_2223; @@ -305,19 +296,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) xor = v_1415 ^ v_2223; @@ -338,19 +329,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) xor = v_1011 ^ v_2021; @@ -363,19 +354,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) xor = v_1011 ^ v_2021; @@ -396,19 +387,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) xor = v_1213 ^ v_2223; @@ -421,19 +412,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) xor = v_1213 ^ v_2223; @@ -454,19 +445,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) xor = v_1415 ^ v_1617; @@ -479,19 +470,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) xor = v_1415 ^ v_1617; @@ -512,19 +503,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) xor = v_89 ^ v_1819; @@ -537,19 +528,19 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) xor = v_89 ^ v_1819; @@ -580,23 +571,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -623,23 +614,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -680,23 +671,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -725,23 +716,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -778,23 +769,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -823,23 +814,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -876,23 +867,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -921,23 +912,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -975,23 +966,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -1018,23 +1009,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -1075,23 +1066,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -1124,23 +1115,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -1177,23 +1168,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -1222,23 +1213,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -1275,23 +1266,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -1325,23 +1316,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -1378,23 +1369,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -1421,23 +1412,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -1474,23 +1465,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -1523,23 +1514,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -1576,23 +1567,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -1625,23 +1616,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -1678,23 +1669,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -1723,23 +1714,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -1774,23 +1765,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -1817,23 +1808,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -1874,23 +1865,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -1919,23 +1910,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -1972,23 +1963,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -2021,23 +2012,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -2074,23 +2065,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -2123,23 +2114,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -2176,23 +2167,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -2219,23 +2210,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -2276,23 +2267,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -2325,23 +2316,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -2378,23 +2369,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -2423,23 +2414,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -2476,23 +2467,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -2521,23 +2512,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -2575,23 +2566,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -2618,23 +2609,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -2671,23 +2662,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -2716,23 +2707,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -2773,23 +2764,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -2822,23 +2813,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -2875,23 +2866,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -2920,23 +2911,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -2973,23 +2964,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -3019,23 +3010,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -3072,23 +3063,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -3117,23 +3108,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -3174,23 +3165,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -3223,23 +3214,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -3276,23 +3267,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -3321,23 +3312,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -3372,23 +3363,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -3417,23 +3408,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -3470,23 +3461,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -3515,23 +3506,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -3568,23 +3559,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -3613,23 +3604,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -3670,23 +3661,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -3715,23 +3706,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -3770,23 +3761,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -3813,23 +3804,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -3866,23 +3857,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -3911,23 +3902,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -3968,23 +3959,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -4013,23 +4004,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -4066,23 +4057,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -4115,23 +4106,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -4169,23 +4160,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -4212,23 +4203,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -4265,23 +4256,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -4310,23 +4301,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -4363,23 +4354,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -4408,23 +4399,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -4465,23 +4456,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -4510,23 +4501,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -4563,23 +4554,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -4606,23 +4597,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -4663,23 +4654,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -4708,23 +4699,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -4761,23 +4752,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -4806,23 +4797,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -4863,23 +4854,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -4908,23 +4899,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -4961,23 +4952,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -5004,23 +4995,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -5057,23 +5048,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -5106,23 +5097,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -5159,23 +5150,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -5208,23 +5199,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -5261,23 +5252,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -5306,23 +5297,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -5359,23 +5350,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -5402,23 +5393,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -5455,23 +5446,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -5500,23 +5491,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -5553,23 +5544,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -5602,23 +5593,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -5659,23 +5650,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -5704,23 +5695,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -5755,23 +5746,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -5800,23 +5791,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -5853,23 +5844,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -5902,23 +5893,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -5955,23 +5946,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -6000,23 +5991,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -6057,23 +6048,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -6102,23 +6093,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -6155,23 +6146,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -6198,23 +6189,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -6251,23 +6242,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -6296,23 +6287,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -6349,23 +6340,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -6398,23 +6389,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -6455,23 +6446,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -6500,23 +6491,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -6551,23 +6542,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -6596,23 +6587,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -6649,23 +6640,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -6694,23 +6685,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -6751,23 +6742,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -6800,23 +6791,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -6853,23 +6844,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -6898,23 +6889,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -6951,23 +6942,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -6996,23 +6987,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -7049,23 +7040,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -7098,23 +7089,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -7151,23 +7142,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -7196,23 +7187,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -7253,23 +7244,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -7298,23 +7289,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -7349,23 +7340,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -7392,23 +7383,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -7445,23 +7436,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -7490,23 +7481,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -7547,23 +7538,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -7592,23 +7583,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -7645,23 +7636,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -7694,23 +7685,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -7749,23 +7740,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -7794,23 +7785,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -7851,23 +7842,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -7900,23 +7891,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -7957,23 +7948,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -8002,23 +7993,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -8055,23 +8046,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -8100,23 +8091,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -8151,23 +8142,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -8194,23 +8185,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -8247,23 +8238,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -8292,23 +8283,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -8345,23 +8336,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -8390,23 +8381,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -8443,23 +8434,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -8488,23 +8479,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -8541,23 +8532,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_01; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -8584,23 +8575,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_01; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_1617 = v_1617 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2425.x < v_1617.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -8641,23 +8632,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_23; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -8686,23 +8677,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_23; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1819 = v_1819 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2627.x < v_1819.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -8739,23 +8730,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_45; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -8784,23 +8775,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_45; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_2021 = v_2021 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_2829.x < v_2021.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63) @@ -8837,23 +8828,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_67; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -8882,23 +8873,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_67; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2223 = v_2223 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_3031.x < v_2223.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -8935,23 +8926,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v30 = v_3031.x; - v31 = v_3031.y; + + xor = v_3031 ^ v_01; v_3031 = vec2(xor.y, xor.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 24) @@ -8978,23 +8969,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_3031.x = v30; - v_3031.y = v31; + + xor = v_3031 ^ v_01; v_3031 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v30 = v_3031.x; - v31 = v_3031.y; + + // c = c + d - v_3031.x = v30; - v_3031.y = v31; + + v_2021 = v_2021 + v_3031 + select(vec2(0u), vec2(0u, 1u), v_2021.x + v_3031.x < v_2021.x); - v30 = v_3031.x; - v31 = v_3031.y; + + // b = rotr64(b ^ c, 63) @@ -9035,23 +9026,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v24 = v_2425.x; - v25 = v_2425.y; + + xor = v_2425 ^ v_23; v_2425 = vec2(xor.y, xor.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 24) @@ -9084,23 +9075,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2425.x = v24; - v_2425.y = v25; + + xor = v_2425 ^ v_23; v_2425 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v24 = v_2425.x; - v25 = v_2425.y; + + // c = c + d - v_2425.x = v24; - v_2425.y = v25; + + v_2223 = v_2223 + v_2425 + select(vec2(0u), vec2(0u, 1u), v_2223.x + v_2425.x < v_2223.x); - v24 = v_2425.x; - v25 = v_2425.y; + + // b = rotr64(b ^ c, 63) @@ -9137,23 +9128,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v26 = v_2627.x; - v27 = v_2627.y; + + xor = v_2627 ^ v_45; v_2627 = vec2(xor.y, xor.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 24) @@ -9182,23 +9173,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2627.x = v26; - v_2627.y = v27; + + xor = v_2627 ^ v_45; v_2627 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v26 = v_2627.x; - v27 = v_2627.y; + + // c = c + d - v_2627.x = v26; - v_2627.y = v27; + + v_1617 = v_1617 + v_2627 + select(vec2(0u), vec2(0u, 1u), v_1617.x + v_2627.x < v_1617.x); - v26 = v_2627.x; - v27 = v_2627.y; + + // b = rotr64(b ^ c, 63) @@ -9235,23 +9226,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 32) - v28 = v_2829.x; - v29 = v_2829.y; + + xor = v_2829 ^ v_67; v_2829 = vec2(xor.y, xor.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 24) @@ -9284,23 +9275,23 @@ fn main(@builtin(global_invocation_id) id: vec3) { // d = rotr64(d ^ a, 16) - v_2829.x = v28; - v_2829.y = v29; + + xor = v_2829 ^ v_67; v_2829 = vec2((xor.x >> 16u) | (xor.y << 16u), (xor.y >> 16u) | (xor.x << 16u)); - v28 = v_2829.x; - v29 = v_2829.y; + + // c = c + d - v_2829.x = v28; - v_2829.y = v29; + + v_1819 = v_1819 + v_2829 + select(vec2(0u), vec2(0u, 1u), v_1819.x + v_2829.x < v_1819.x); - v28 = v_2829.x; - v29 = v_2829.y; + + // b = rotr64(b ^ c, 63)