the macroer (we were so close to greatness)

This commit is contained in:
Quaternions 2023-10-12 18:54:04 -07:00
parent fac0383bb1
commit 3594268cf6

View File

@ -556,7 +556,7 @@ impl framework::Example for GlobalState {
// Create the render pipeline
let shader = device.create_shader_module(wgpu::ShaderModuleDescriptor {
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