mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Fix include_spirv_raw macro (#7503)
This commit is contained in:
1 parent
a0dbe5ebc6
commit
09a641bdf4
1 file changed
+2
-2
+2
-2
@@ -106,12 +106,12 @@ macro_rules! include_spirv_raw {
|
||||
($($token:tt)*) => {
|
||||
{
|
||||
//log::info!("including '{}'", $($token)*);
|
||||
$crate::ShaderModuleDescriptorPassthrough::SpirV {
|
||||
$crate::ShaderModuleDescriptorPassthrough::SpirV(
|
||||
$crate::ShaderModuleDescriptorSpirV {
|
||||
label: $crate::__macro_helpers::Some($($token)*),
|
||||
source: $crate::util::make_spirv_raw($crate::__macro_helpers::include_bytes!($($token)*)),
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user