Skip to content

Commit 65d57b9

Browse files
authored
Fix tonemapping test patten (#10092)
# Objective - Updating to wgpu 0.17 broke the tonemapping test patten ## Solution - Fix it
1 parent be8ff5d commit 65d57b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/shaders/tonemapping_test_patterns.wgsl

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
// Sweep across hues on y axis with value from 0.0 to +15EV across x axis
1111
// quantized into 24 steps for both axis.
12-
fn color_sweep(uv: vec2<f32>) -> vec3<f32> {
13-
var uv = uv;
12+
fn color_sweep(uv_input: vec2<f32>) -> vec3<f32> {
13+
var uv = uv_input;
1414
let steps = 24.0;
1515
uv.y = uv.y * (1.0 + 1.0 / steps);
1616
let ratio = 2.0;

0 commit comments

Comments
 (0)