From 472c2258dbeca000a454ea1781f09df63477563e Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 28 Feb 2026 02:39:04 +0100 Subject: replace wgsl type: vec4 -> vec4f .. --- common/shaders/render/shadows.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/shaders/render/shadows.wgsl') diff --git a/common/shaders/render/shadows.wgsl b/common/shaders/render/shadows.wgsl index 7cba089..b71e073 100644 --- a/common/shaders/render/shadows.wgsl +++ b/common/shaders/render/shadows.wgsl @@ -1,4 +1,4 @@ -fn calc_shadow(ro: vec3, rd: vec3, tmin: f32, tmax: f32, skip_idx: u32) -> f32 { +fn calc_shadow(ro: vec3f, rd: vec3f, tmin: f32, tmax: f32, skip_idx: u32) -> f32 { var res = 1.0; var t = tmin; if (t < 0.05) { t = 0.05; } -- cgit v1.2.3