diff --git a/wgpu/examples/shadow/bake.frag b/wgpu/examples/shadow/bake.frag deleted file mode 100644 index f0bcb49bf9..0000000000 --- a/wgpu/examples/shadow/bake.frag +++ /dev/null @@ -1,4 +0,0 @@ -#version 450 - -void main() { -} diff --git a/wgpu/examples/shadow/bake.frag.spv b/wgpu/examples/shadow/bake.frag.spv deleted file mode 100644 index dbd2938291..0000000000 Binary files a/wgpu/examples/shadow/bake.frag.spv and /dev/null differ diff --git a/wgpu/examples/shadow/main.rs b/wgpu/examples/shadow/main.rs index 919e1cb529..c0e8dabb6c 100644 --- a/wgpu/examples/shadow/main.rs +++ b/wgpu/examples/shadow/main.rs @@ -471,7 +471,6 @@ impl framework::Example for Example { // Create the render pipeline let vs_module = device.create_shader_module(wgpu::include_spirv!("bake.vert.spv")); - let fs_module = device.create_shader_module(wgpu::include_spirv!("bake.frag.spv")); let pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { label: Some("shadow"), @@ -480,10 +479,7 @@ impl framework::Example for Example { module: &vs_module, entry_point: "main", }, - fragment_stage: Some(wgpu::ProgrammableStageDescriptor { - module: &fs_module, - entry_point: "main", - }), + fragment_stage: None, rasterization_state: Some(wgpu::RasterizationStateDescriptor { front_face: wgpu::FrontFace::Ccw, cull_mode: wgpu::CullMode::Back,