fix(msl): set the metal shader language version when in passthrough mode (#10574)

This commit is contained in:
Acshi Haggenmiller authored and GitHub committed 2026-10-17 01:46:19 +00:00
1 parent ee1904a1f8
commit 4bd4405d02
1 file changed
+1
+1
View File
@@ -1395,6 +1395,7 @@ impl crate::Device for super::Device {
num_workgroups,
} => {
let options = MTLCompileOptions::new();
options.setLanguageVersion(self.shared.private_caps.msl_version);
// Obtain the device from shared
let device = &self.shared.device;
let library = device