the macroer (we were so close to greatness)
This commit is contained in:
parent
fac0383bb1
commit
3594268cf6
@ -556,7 +556,7 @@ impl framework::Example for GlobalState {
|
|||||||
// Create the render pipeline
|
// Create the render pipeline
|
||||||
let shader = device.create_shader_module(wgpu::ShaderModuleDescriptor {
|
let shader = device.create_shader_module(wgpu::ShaderModuleDescriptor {
|
||||||
label: None,
|
label: None,
|
||||||
source: wgpu::ShaderSource::Wgsl(Cow::Borrowed(include_str!("shader.wgsl"))),
|
source: wgpu::ShaderSource::SpirV(Cow::Borrowed(include_wgsl_to_spv!("shader.wgsl"))),
|
||||||
});
|
});
|
||||||
|
|
||||||
//load textures
|
//load textures
|
||||||
|
Loading…
Reference in New Issue
Block a user