mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
* feat: Add 32-bit floating-point atomics * Current supported platforms: Metal * Platforms to support in the future: Vulkan Related issues or PRs: * gfx-rs/wgpu#1020 * Add changelog * Edit changelog * feat: Add 32-bit float atomics support for Vulkan (SPIR-V shaders) * atomicSub for f32 in the previous commits is removed. * Update test * chore: doc type link * refactor: Revise float atomics on msl and spv * Make branches tidy * Also revise old codes * Ensure the implementations are supported by Metal and Vulkan backends * refactor: Renaming flt32 atomics to float32 atomics * chore: Add link to Vulkan feature * fix: cargo fmt * chore: hack comment * Revert changelog * Fix: Cargo advisory * Update wgpu-hal/src/metal/adapter.rs Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> * Update naga/src/lib.rs Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> * Adjust feature flag position --------- Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
16 lines
289 B
Plaintext
16 lines
289 B
Plaintext
(
|
|
god_mode: true,
|
|
spv: (
|
|
version: (1, 1),
|
|
capabilities: [ AtomicFloat32AddEXT ],
|
|
),
|
|
msl: (
|
|
lang_version: (3, 0),
|
|
per_entry_point_map: {},
|
|
inline_samplers: [],
|
|
spirv_cross_compatibility: false,
|
|
fake_missing_bindings: true,
|
|
zero_initialize_workgroup_memory: false,
|
|
),
|
|
)
|