diff --git a/assets/shaders/tonemapping_test_patterns.wgsl b/assets/shaders/tonemapping_test_patterns.wgsl index c4a6d76568e9d..8c5ba99ec4cd5 100644 --- a/assets/shaders/tonemapping_test_patterns.wgsl +++ b/assets/shaders/tonemapping_test_patterns.wgsl @@ -9,8 +9,8 @@ // Sweep across hues on y axis with value from 0.0 to +15EV across x axis // quantized into 24 steps for both axis. -fn color_sweep(uv: vec2) -> vec3 { - var uv = uv; +fn color_sweep(uv_input: vec2) -> vec3 { + var uv = uv_input; let steps = 24.0; uv.y = uv.y * (1.0 + 1.0 / steps); let ratio = 2.0;