From cce9800045a372a3e9def7651759c1c0252e10b7 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 a855ed6..dbbd50c 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,