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,