From c01ff81a7332942f4b106b8ccdc474302e07cff7 Mon Sep 17 00:00:00 2001 From: jer Date: Thu, 16 Nov 2023 21:28:10 +1100 Subject: [PATCH] fix: update scripts to reset shaders to their defaults --- scripts/reset-2d.py | 2 +- scripts/reset-3d.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/reset-2d.py b/scripts/reset-2d.py index 68bb8df..460986e 100644 --- a/scripts/reset-2d.py +++ b/scripts/reset-2d.py @@ -13,7 +13,7 @@ const SPEED:f32 = 1.0; @fragment -fn fragment(in: MeshVertexOutput) -> @location(0) vec4 { +fn fragment(in: VertexOutput) -> @location(0) vec4 { // ensure our uv coords match shadertoy/the-lil-book-of-shaders var uv = (in.uv * 2.0) - 1.0; let resolution = view.viewport.zw; diff --git a/scripts/reset-3d.py b/scripts/reset-3d.py index c8ba8cc..f1b2a45 100644 --- a/scripts/reset-3d.py +++ b/scripts/reset-3d.py @@ -16,7 +16,7 @@ const SPEED:f32 = 1.0; @fragment -fn fragment(in: MeshVertexOutput) -> @location(0) vec4 { +fn fragment(in: VertexOutput) -> @location(0) vec4 { // ensure our uv coords match shadertoy/the-lil-book-of-shaders let texture_uvs = in.uv;