From 8b40c3847e24c61279df72e57ce28c2d315fec02 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 14 Jan 2025 12:45:15 -0800 Subject: [PATCH] Remove unnecessary v[20-23] scalar assignments. --- src/shaders/compute.wgsl | 384 +++++++++++++++++++-------------------- 1 file changed, 192 insertions(+), 192 deletions(-) diff --git a/src/shaders/compute.wgsl b/src/shaders/compute.wgsl index 292eb54..f192f54 100644 --- a/src/shaders/compute.wgsl +++ b/src/shaders/compute.wgsl @@ -366,8 +366,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -411,8 +411,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -463,8 +463,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -508,8 +508,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -558,8 +558,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -601,8 +601,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -653,8 +653,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -698,8 +698,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -1140,8 +1140,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -1185,8 +1185,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -1237,8 +1237,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -1282,8 +1282,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -1338,8 +1338,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -1381,8 +1381,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -1437,8 +1437,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -1486,8 +1486,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -1932,8 +1932,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -1981,8 +1981,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -2033,8 +2033,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -2078,8 +2078,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -2128,8 +2128,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -2171,8 +2171,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -2227,8 +2227,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -2272,8 +2272,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -2726,8 +2726,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -2771,8 +2771,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -2823,8 +2823,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -2868,8 +2868,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -2924,8 +2924,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -2967,8 +2967,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -3019,8 +3019,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -3064,8 +3064,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -3520,8 +3520,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -3569,8 +3569,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -3621,8 +3621,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -3666,8 +3666,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -3716,8 +3716,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -3765,8 +3765,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -3817,8 +3817,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -3862,8 +3862,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -4314,8 +4314,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -4359,8 +4359,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -4411,8 +4411,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -4460,8 +4460,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -4516,8 +4516,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -4559,8 +4559,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -4611,8 +4611,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -4656,8 +4656,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -5102,8 +5102,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -5147,8 +5147,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -5203,8 +5203,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -5248,8 +5248,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -5304,8 +5304,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -5347,8 +5347,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -5399,8 +5399,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -5448,8 +5448,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -5890,8 +5890,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -5939,8 +5939,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -5995,8 +5995,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6040,8 +6040,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6090,8 +6090,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6139,8 +6139,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6191,8 +6191,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -6240,8 +6240,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -6682,8 +6682,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -6731,8 +6731,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -6787,8 +6787,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6832,8 +6832,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6882,8 +6882,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6931,8 +6931,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -6983,8 +6983,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -7028,8 +7028,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -7484,8 +7484,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -7536,8 +7536,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -7592,8 +7592,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -7637,8 +7637,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -7687,8 +7687,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -7730,8 +7730,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -7782,8 +7782,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -7827,8 +7827,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -8297,8 +8297,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -8342,8 +8342,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -8394,8 +8394,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -8439,8 +8439,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -8489,8 +8489,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -8532,8 +8532,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -8584,8 +8584,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -8629,8 +8629,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -9071,8 +9071,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -9116,8 +9116,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v28 = v_2829.x; v29 = v_2829.y; @@ -9168,8 +9168,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -9213,8 +9213,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -9269,8 +9269,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -9312,8 +9312,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v20 = v_2021.x; - v21 = v_2021.y; + + v30 = v_3031.x; v31 = v_3031.y; @@ -9368,8 +9368,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; @@ -9417,8 +9417,8 @@ fn main(@builtin(global_invocation_id) id: vec3) { 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); - v22 = v_2223.x; - v23 = v_2223.y; + + v24 = v_2425.x; v25 = v_2425.y; -- 2.34.1