wgpu/naga/tests/in
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
..
glsl Nested loop test 2024-02-28 13:54:27 +01:00
spv [naga spv-in] Adjust types of globals used by atomic instructions. 2024-06-21 21:51:25 -07:00
abstract-types-const.wgsl [naga] Rename abstract-types snapshots abstract-types-const. 2023-12-06 10:35:21 +01:00
abstract-types-operators.wgsl [naga wgsl] Let unary operators accept and produce abstract types. 2023-12-14 10:54:46 +01:00
abstract-types-var.wgsl [naga wgsl-in] Automatic conversions for local var initializers. 2023-12-06 10:35:21 +01:00
access.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
access.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
array-in-ctor.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
array-in-ctor.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
array-in-function-return-type.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
array-in-function-return-type.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
atomicCompareExchange-int64.param.ron Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
atomicCompareExchange-int64.wgsl Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
atomicCompareExchange.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
atomicOps-int64-min-max.param.ron Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
atomicOps-int64-min-max.wgsl [naga, hal] miscellaneous fixes for Atomic64 support (#5952) 2024-07-13 19:17:59 -07:00
atomicOps-int64.param.ron Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
atomicOps-int64.wgsl Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
atomicOps.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
binding-arrays.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
binding-arrays.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
binding-buffer-arrays.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
binding-buffer-arrays.wgsl spv-out: Support arrayLength of a dynamically indexed bindings array 2024-04-02 19:22:34 +02:00
bitcast.params.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bitcast.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bits.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bits.wgsl Add parsing support for un/pack4xI/U8 2024-05-14 17:57:04 +02:00
boids.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
boids.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-image-restrict.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-image-restrict.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-image-rzsw.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-image-rzsw.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-restrict.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-restrict.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-zero-atomic.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-zero-atomic.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-zero.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
bounds-check-zero.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
break-if.wgsl [naga wgsl-in] Fix parsing break ifs 2024-01-08 10:50:38 +01:00
collatz.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
collatz.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
const-exprs.wgsl [naga] Teach the constant evaluator vector/vector operators. 2023-12-12 12:48:10 +01:00
constructors.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
constructors.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
control-flow.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
control-flow.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
cubeArrayShadow.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
debug-symbol-large-source.param.ron fix(spv-out): OpSourceContinued for large source (gfx-rs#5390) 2024-04-08 11:27:18 +02:00
debug-symbol-large-source.wgsl fix(spv-out): OpSourceContinued for large source (gfx-rs#5390) 2024-04-08 11:27:18 +02:00
debug-symbol-simple.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
debug-symbol-simple.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
debug-symbol-terrain.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
debug-symbol-terrain.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
dualsource.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
dualsource.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
empty.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
empty.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
extra.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
extra.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
f64.param.ron [naga wgsl] Experimental 64-bit floating-point literals. 2023-11-23 12:17:21 +01:00
f64.wgsl [naga wgsl] Experimental 64-bit floating-point literals. 2023-11-23 12:17:21 +01:00
force_point_size_vertex_shader_webgl.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
force_point_size_vertex_shader_webgl.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
fragment-output.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
functions-webgl.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
functions-webgl.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
functions.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
functions.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
globals.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
globals.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
hlsl-keyword.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
image.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
image.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
int64.param.ron Add support for 64 bit integer atomic operations in shaders. 2024-06-08 18:36:26 -07:00
int64.wgsl Add shader I64 and U64 support (#5154) 2024-03-12 12:34:06 +01:00
interface.param.ron Add an experimental vertex pulling flag to Metal pipelines. 2024-05-30 13:08:59 +02:00
interface.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
interpolate.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
interpolate.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
invariant.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
invariant.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
lexical-scopes.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
math-functions.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
math-functions.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
module-scope.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
msl-varyings.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
multiview_webgl.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
multiview_webgl.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
multiview.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
multiview.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
operators.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
operators.wgsl [naga] Change operators.wgsl to use values that matter. 2023-12-12 12:48:10 +01:00
overrides-atomicCompareExchangeWeak.param.ron [naga] Handle comparison operands in pipeline constant evaluation. 2024-04-05 18:07:41 +02:00
overrides-atomicCompareExchangeWeak.wgsl [naga] Handle comparison operands in pipeline constant evaluation. 2024-04-05 18:07:41 +02:00
overrides-ray-query.param.ron [naga] Adjust RayQuery statements in override processing. 2024-04-05 18:07:41 +02:00
overrides-ray-query.wgsl [naga] Adjust RayQuery statements in override processing. 2024-04-05 18:07:41 +02:00
overrides.param.ron [spv/msl/hlsl-out] support pipeline constant value replacements 2024-04-05 18:07:41 +02:00
overrides.wgsl [naga] add Expression::Override to needs_pre_emit 2024-04-22 08:38:31 -07:00
padding.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
padding.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
pointers.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
pointers.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
policy-mix.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
policy-mix.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
push-constants.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
push-constants.wgsl Test And Normalize Vertex Behavior on All Backends (#4723) 2023-11-21 22:11:24 +00:00
quad.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
quad.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
ray-query.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
ray-query.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
resource-binding-map.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
resource-binding-map.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
runtime-array-in-unused-struct.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
sample-cube-array-depth-lod.param.ron Fix glsl backend errors regarding samplerCubeArrayShadow (#5171) 2024-02-08 18:27:58 +01:00
sample-cube-array-depth-lod.wgsl Fix glsl backend errors regarding samplerCubeArrayShadow (#5171) 2024-02-08 18:27:58 +01:00
separate-entry-points.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
separate-entry-points.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
shadow.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
shadow.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
skybox.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
skybox.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
sprite.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
sprite.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
standard.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
standard.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
struct-layout.wgsl test(naga): add struct-layout test 2023-11-22 03:54:16 -07:00
subgroup-operations.param.ron Subgroup Operations (#5301) 2024-04-17 15:25:52 -04:00
subgroup-operations.wgsl Subgroup Operations (#5301) 2024-04-17 15:25:52 -04:00
texture-arg.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
texture-arg.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
type-alias.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
unconsumed_vertex_outputs_frag.param.ron Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
unconsumed_vertex_outputs_frag.wgsl Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
unconsumed_vertex_outputs_vert.param.ron Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
unconsumed_vertex_outputs_vert.wgsl Allow unconsumed inputs in fragment shaders (#5531) 2024-07-04 09:08:46 +02:00
use-gl-ext-over-grad-workaround-if-instructed.param.ron Fix glsl backend errors regarding samplerCubeArrayShadow (#5171) 2024-02-08 18:27:58 +01:00
use-gl-ext-over-grad-workaround-if-instructed.wgsl Fix glsl backend errors regarding samplerCubeArrayShadow (#5171) 2024-02-08 18:27:58 +01:00
variations.glsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
vertex-pulling-transform.param.ron Add an experimental vertex pulling flag to Metal pipelines. 2024-05-30 13:08:59 +02:00
vertex-pulling-transform.wgsl Add an experimental vertex pulling flag to Metal pipelines. 2024-05-30 13:08:59 +02:00
workgroup-uniform-load.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00
workgroup-var-init.param.ron Move naga to subfolder 2023-10-25 14:25:04 -04:00
workgroup-var-init.wgsl Move naga to subfolder 2023-10-25 14:25:04 -04:00