From 2df929c15f7ee968e94c39996a2b13ac3a8b0796 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 5 Sep 2023 00:17:33 -0700 Subject: [PATCH] no fragment --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index cd9adba..7627a48 100644 --- a/src/main.rs +++ b/src/main.rs @@ -212,7 +212,7 @@ impl strafe_client::framework::Example for Skybox { entries: &[ wgpu::BindGroupLayoutEntry { binding: 0, - visibility: wgpu::ShaderStages::VERTEX | wgpu::ShaderStages::FRAGMENT, + visibility: wgpu::ShaderStages::VERTEX, ty: wgpu::BindingType::Buffer { ty: wgpu::BufferBindingType::Uniform, has_dynamic_offset: false, @@ -238,7 +238,7 @@ impl strafe_client::framework::Example for Skybox { }, wgpu::BindGroupLayoutEntry { binding: 3, - visibility: wgpu::ShaderStages::VERTEX | wgpu::ShaderStages::FRAGMENT, + visibility: wgpu::ShaderStages::VERTEX, ty: wgpu::BindingType::Buffer { ty: wgpu::BufferBindingType::Uniform, has_dynamic_offset: false,