Fix include_spirv_raw macro (#7503)

This commit is contained in:
Christian Legnitto authored and GitHub committed 2025-04-09 20:56:22 -04:00
1 parent a0dbe5ebc6
commit 09a641bdf4
1 file changed
+2 -2
+2 -2
View File
@@ -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)*)),
}
}
)
}
};
}