From f208e6a26f3c21c25dbfcfe29491a6f5660c999d Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 6 May 2021 16:48:45 +0200 Subject: chore: update wgpu and realign to spec (#9760) --- extensions/webgpu/shader.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'extensions/webgpu/shader.rs') 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( -- cgit v1.2.3