We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57c3343 commit 59ecc2eCopy full SHA for 59ecc2e
wgpu-core/src/device/global.rs
@@ -965,7 +965,20 @@ impl Global {
965
let data = trace.make_binary(desc.trace_binary_ext(), desc.trace_data());
966
trace.add(trace::Action::CreateShaderModule {
967
id: fid.id(),
968
- desc: desc.clone().into(),
+ desc: match desc {
969
+ pipeline::ShaderModuleDescriptorPassthrough::SpirV(inner) => {
970
+ pipeline::ShaderModuleDescriptor {
971
+ label: inner.label.clone(),
972
+ runtime_checks: wgt::ShaderRuntimeChecks::unchecked(),
973
+ }
974
975
+ pipeline::ShaderModuleDescriptorPassthrough::Msl(inner) => {
976
977
978
979
980
981
+ },
982
data,
983
});
984
};
0 commit comments