diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-05-06 16:48:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 16:48:45 +0200 |
commit | f208e6a26f3c21c25dbfcfe29491a6f5660c999d (patch) | |
tree | 65dbbd45b2f36faab8ae585eb0d270356bcba33e /extensions/webgpu/shader.rs | |
parent | ce76f8c3a97529c86d49c39c6d9a250f978b5430 (diff) |
chore: update wgpu and realign to spec (#9760)
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( |