diff options
Diffstat (limited to 'extensions/webgpu/shader.rs')
-rw-r--r-- | extensions/webgpu/shader.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/extensions/webgpu/shader.rs b/extensions/webgpu/shader.rs index 9697c43d3..f48411969 100644 --- a/extensions/webgpu/shader.rs +++ b/extensions/webgpu/shader.rs @@ -56,14 +56,9 @@ pub fn op_webgpu_create_shader_module( })), }; - let mut flags = wgpu_types::ShaderFlags::default(); - flags.set(wgpu_types::ShaderFlags::VALIDATION, true); - #[cfg(all(target_os = "macos", target_arch = "x86_64"))] - flags.set(wgpu_types::ShaderFlags::EXPERIMENTAL_TRANSLATION, true); - let descriptor = wgpu_core::pipeline::ShaderModuleDescriptor { label: args.label.map(Cow::from), - flags, + flags: wgpu_types::ShaderFlags::all(), }; gfx_put!(device => instance.device_create_shader_module( |