mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Fix include_spirv_raw macro (#7503)
This commit is contained in:
parent
a0dbe5ebc6
commit
09a641bdf4
@ -106,12 +106,12 @@ macro_rules! include_spirv_raw {
|
|||||||
($($token:tt)*) => {
|
($($token:tt)*) => {
|
||||||
{
|
{
|
||||||
//log::info!("including '{}'", $($token)*);
|
//log::info!("including '{}'", $($token)*);
|
||||||
$crate::ShaderModuleDescriptorPassthrough::SpirV {
|
$crate::ShaderModuleDescriptorPassthrough::SpirV(
|
||||||
$crate::ShaderModuleDescriptorSpirV {
|
$crate::ShaderModuleDescriptorSpirV {
|
||||||
label: $crate::__macro_helpers::Some($($token)*),
|
label: $crate::__macro_helpers::Some($($token)*),
|
||||||
source: $crate::util::make_spirv_raw($crate::__macro_helpers::include_bytes!($($token)*)),
|
source: $crate::util::make_spirv_raw($crate::__macro_helpers::include_bytes!($($token)*)),
|
||||||
}
|
}
|
||||||
}
|
)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user