From a06313107a667a39a90fddd748c83385d1c21fc5 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 14 Jan 2025 12:07:31 -0800 Subject: [PATCH] Remove unnecessary v0 scalar. --- src/shaders/compute.wgsl | 200 +++++++++++++++++++-------------------- 1 file changed, 100 insertions(+), 100 deletions(-) diff --git a/src/shaders/compute.wgsl b/src/shaders/compute.wgsl index 5ff47db..540dc4d 100644 --- a/src/shaders/compute.wgsl +++ b/src/shaders/compute.wgsl @@ -74,7 +74,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { var v_2829: vec2 = vec2(0x04BE4294u, 0xE07C2654u); var v_3031: vec2 = vec2(0x137E2179u, 0x5BE0CD19u); - var v0: u32 = 0xF2BDC900u; + var v1: u32 = 0x6A09E667u; var v2: u32 = 0x84CAA73Bu; var v3: u32 = 0xBB67AE85u; @@ -129,7 +129,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -140,7 +140,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) @@ -175,7 +175,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -186,11 +186,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -535,7 +535,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -544,7 +544,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -577,7 +577,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -586,7 +586,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -923,7 +923,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -963,7 +963,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -972,7 +972,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -1309,7 +1309,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -1320,11 +1320,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -1357,7 +1357,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -1366,7 +1366,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -1715,7 +1715,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -1755,7 +1755,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -1764,7 +1764,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -2105,7 +2105,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -2114,7 +2114,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -2147,7 +2147,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -2156,7 +2156,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -2505,7 +2505,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -2545,7 +2545,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -2554,7 +2554,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -2895,7 +2895,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -2906,11 +2906,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -2943,7 +2943,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -2952,7 +2952,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -3297,7 +3297,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -3337,7 +3337,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -3348,11 +3348,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -3693,7 +3693,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -3702,7 +3702,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -3735,7 +3735,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -3746,11 +3746,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -4091,7 +4091,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -4102,7 +4102,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) @@ -4137,7 +4137,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -4146,7 +4146,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -4487,7 +4487,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -4498,11 +4498,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -4535,7 +4535,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -4544,7 +4544,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -4885,7 +4885,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -4925,7 +4925,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -4934,7 +4934,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -5275,7 +5275,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -5286,11 +5286,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -5323,7 +5323,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -5332,7 +5332,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -5677,7 +5677,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -5717,7 +5717,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -5726,7 +5726,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -6067,7 +6067,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -6076,7 +6076,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -6109,7 +6109,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -6120,11 +6120,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -6469,7 +6469,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -6509,7 +6509,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -6518,7 +6518,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -6859,7 +6859,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -6868,7 +6868,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -6901,7 +6901,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -6912,11 +6912,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -7261,7 +7261,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -7301,7 +7301,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -7312,11 +7312,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -7664,7 +7664,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -7673,7 +7673,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -7706,7 +7706,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -7715,7 +7715,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -8060,7 +8060,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -8071,7 +8071,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) @@ -8106,7 +8106,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -8117,11 +8117,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -8466,7 +8466,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -8475,7 +8475,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -8508,7 +8508,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -8517,7 +8517,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -8854,7 +8854,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -8894,7 +8894,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_89.x = v8; v_89.y = v9; v_01 = v_01 + v_89 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_89.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v8 = v_89.x; v9 = v_89.y; @@ -8903,7 +8903,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_2425.x = v24; v_2425.y = v25; @@ -9240,7 +9240,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -9251,11 +9251,11 @@ fn main(@builtin(global_invocation_id) id: vec3) { o1 = o1 + select(0u, 1u, o0 < v_01.x); v_01.x = o0; v_01.y = o1; - v0 = o0; + v1 = o1; // d = rotr64(d ^ a, 32) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; @@ -9288,7 +9288,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { v_1011.x = v10; v_1011.y = v11; v_01 = v_01 + v_1011 + select(vec2(0u), vec2(0u, 1u), v_01.x + v_1011.x < v_01.x); - v0 = v_01.x; + v1 = v_01.y; v10 = v_1011.x; v11 = v_1011.y; @@ -9297,7 +9297,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { // skip since adding 0u does nothing // d = rotr64(d ^ a, 16) - v_01.x = v0; + v_01.y = v1; v_3031.x = v30; v_3031.y = v31; -- 2.34.1