Skip to content

Commit 09a641b

Browse files
authored
Fix include_spirv_raw macro (#7503)
1 parent a0dbe5e commit 09a641b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wgpu/src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ macro_rules! include_spirv_raw {
106106
($($token:tt)*) => {
107107
{
108108
//log::info!("including '{}'", $($token)*);
109-
$crate::ShaderModuleDescriptorPassthrough::SpirV {
109+
$crate::ShaderModuleDescriptorPassthrough::SpirV(
110110
$crate::ShaderModuleDescriptorSpirV {
111111
label: $crate::__macro_helpers::Some($($token)*),
112112
source: $crate::util::make_spirv_raw($crate::__macro_helpers::include_bytes!($($token)*)),
113113
}
114-
}
114+
)
115115
}
116116
};
117117
}

0 commit comments

Comments
 (0)