dawn-cmake/test/tint/builtins/gen/var/atomicCompareExchangeWeak
Zhaoming Jiang 4faf3581b8 Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return
This CL fix the spv code generated for atomicCompareExchangeWeak,
specifically the emulated `exchanged` field of the returned struct.
It should be true if and only if the `old_value`, i.e. the return value
of spv `OpAtomicCompareExchange`, equals to the comparator, rather than
equals to new value.

Fixed: tint:1663
Change-Id: I1cb0de6bb6b90ae681f5053b8bdd6f6b247146f6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107180
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
2022-10-26 08:23:25 +00:00
..
1bd40a.wgsl tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
1bd40a.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
1bd40a.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
1bd40a.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
1bd40a.wgsl.expected.msl tint: fix emitting duplicate structs for atomicCompareExchangeWeak 2022-06-03 14:47:01 +00:00
1bd40a.wgsl.expected.spvasm Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return 2022-10-26 08:23:25 +00:00
1bd40a.wgsl.expected.wgsl tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
63d8e6.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
63d8e6.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
63d8e6.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
63d8e6.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
63d8e6.wgsl.expected.msl tint: fix emitting duplicate structs for atomicCompareExchangeWeak 2022-06-03 14:47:01 +00:00
63d8e6.wgsl.expected.spvasm Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return 2022-10-26 08:23:25 +00:00
63d8e6.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
83580d.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
83580d.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
83580d.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
83580d.wgsl.expected.glsl tint: Add builtin tests for arguments passed by var 2022-06-02 14:36:10 +00:00
83580d.wgsl.expected.msl tint: fix emitting duplicate structs for atomicCompareExchangeWeak 2022-06-03 14:47:01 +00:00
83580d.wgsl.expected.spvasm Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return 2022-10-26 08:23:25 +00:00
83580d.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
e88938.wgsl tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
e88938.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
e88938.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
e88938.wgsl.expected.glsl tint: Add builtin tests for arguments passed by var 2022-06-02 14:36:10 +00:00
e88938.wgsl.expected.msl tint: fix emitting duplicate structs for atomicCompareExchangeWeak 2022-06-03 14:47:01 +00:00
e88938.wgsl.expected.spvasm Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return 2022-10-26 08:23:25 +00:00
e88938.wgsl.expected.wgsl tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00