mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
Fix simplest
and sky
shaders being switched in example-runner-wgpu's rebuild code. (#639)
This commit is contained in:
parent
3fa15c99ae
commit
62f375f148
@ -71,8 +71,8 @@ fn shader_module(shader: RustGPUShader) -> wgpu::ShaderModuleDescriptor<'static>
|
||||
std::env::set_var("OUT_DIR", env!("OUT_DIR"));
|
||||
std::env::set_var("PROFILE", env!("PROFILE"));
|
||||
let (crate_name, capabilities): (_, &[Capability]) = match shader {
|
||||
RustGPUShader::Simplest => ("sky-shader", &[]),
|
||||
RustGPUShader::Sky => ("simplest-shader", &[]),
|
||||
RustGPUShader::Simplest => ("simplest-shader", &[]),
|
||||
RustGPUShader::Sky => ("sky-shader", &[]),
|
||||
RustGPUShader::Compute => ("compute-shader", &[]),
|
||||
RustGPUShader::Mouse => (
|
||||
"mouse-shader",
|
||||
|
Loading…
Reference in New Issue
Block a user