gfx-rs / wgpu

A cross-platform, safe, pure-Rust graphics API.
https://wgpu.rs
Apache License 2.0
12.77k stars 937 forks source link

Enable VK_KHR_vulkan_memory_model #1545

Open kvark opened 3 years ago

kvark commented 3 years ago

Is your feature request related to a problem? Please describe. A pass-through of SPIR-V shaders with Vulkan memory model triggers validation.

Describe the solution you'd like WebGPU is adopting the memory model similar to Vulkan. Therefore, Vulkan backend should try to enable this extension (unless its on Vulkan 1.2), unconditionally.

Describe alternatives you've considered Exposing this as an optional feature.

Additional context Add any other context or screenshots about the feature request here.

teoxoy commented 1 year ago

Spec PR https://github.com/gpuweb/gpuweb/pull/2055 (related: https://github.com/gpuweb/gpuweb/issues/1621)

jimblandy commented 10 months ago

If I understand correctly, the extension describes behavior that drivers already provide, and the extension just describes and formalizes it. So: