mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 05:51:03 +01:00
fix(msl): set the metal shader language version when in passthrough mode (#10574)
This commit is contained in:
1 parent
ee1904a1f8
commit
4bd4405d02
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user