wgpu/naga/tests
JMS55 17fcb19425
[naga, hal] miscellaneous fixes for Atomic64 support (#5952)
In `naga:🔙hlsl`:

- Generate calls to `Interlocked{op}64` when necessary. not
  `Interlocked{op}`.

- Make atomic operations that do not produce a value emit their
  operands properly.
  
In the Naga snapshot tests:

- Adapt `atomicOps-int64-min-max.wgsl` to include cases that
  cover non-trivial atomic operation operand emitting.

In `wgpu_hal::vulkan::adapter`:

- When retrieving physical device features, be sure to include
  the `PhysicalDeviceShaderAtomicInt64Features` extending struct
  in the chain whenever the `VK_KHR_shader_atomic_int64` extension
  is available.

- Request both `shader_{buffer,shared}_int64_atomics` in the
  `PhysicalDeviceShaderAtomicInt64Features` extending struct when either of
  `wgpu_types::Features::SHADER_INT64_ATOMIC_{ALL_OPS,MIN_MAX}` is requested.

---------

Co-authored-by: Jim Blandy <jimb@red-bean.com>
2024-07-13 19:17:59 -07:00
..
in [naga, hal] miscellaneous fixes for Atomic64 support (#5952) 2024-07-13 19:17:59 -07:00
out [naga, hal] miscellaneous fixes for Atomic64 support (#5952) 2024-07-13 19:17:59 -07:00
example_wgsl.rs [naga] Make the example_wgsl test build without wgsl-in feature. 2023-11-24 13:17:30 +01:00
root.rs [naga] Test CallResult and AtomicResult population. 2024-05-28 09:17:16 +02:00
snapshots.rs Add cfg_alias indirection to Naga's x_out features 2024-07-09 09:53:39 +02:00
spirv_capabilities.rs Add cfg_alias indirection to Naga's x_out features 2024-07-09 09:53:39 +02:00
validation.rs Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
wgsl_errors.rs [wgsl-in] add support for override declarations (#4793) 2024-04-05 18:07:41 +02:00