From 8969420824da5bbdc899f3361e2cea032cb94174 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Fri, 26 Jan 2024 16:52:05 +0000 Subject: [PATCH] Remove old shader --- res/shaders/main.wgsl | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 res/shaders/main.wgsl diff --git a/res/shaders/main.wgsl b/res/shaders/main.wgsl deleted file mode 100644 index f5a0eae..0000000 --- a/res/shaders/main.wgsl +++ /dev/null @@ -1,19 +0,0 @@ -struct VertexOutput { - @builtin(position) clip_position: vec4, -}; - -@vertex -fn vs_main( - @builtin(vertex_index) in_vertex_index: u32, -) -> VertexOutput { - var out: VertexOutput; - let x = f32(1 - i32(in_vertex_index)) * 0.5; - let y = f32(i32(in_vertex_index & 1u) * 2 - 1) * 0.5; - out.clip_position = vec4(x, y, 0.0, 1.0); - return out; -} - -@fragment -fn fs_main(in: VertexOutput) -> @location(0) vec4 { - return vec4(0.3, 0.2, 0.1, 1.0); -} \ No newline at end of file