dawn-cmake/test/tint
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
..
access tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
array Update internals to initializer instead of constructor. 2022-10-20 13:38:28 +00:00
benchmark tint: Make uniformity analysis failures a hard error 2022-09-26 12:30:05 +00:00
buffer tint/hlsl: remove [loop] attribute on all loops 2022-09-29 16:53:58 +00:00
bug Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return 2022-10-26 08:23:25 +00:00
builtins Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return 2022-10-26 08:23:25 +00:00
const tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
expressions [msl] Handle packed conversions in shift expressions. 2022-10-13 15:28:51 +00:00
extensions/parsing wgsl: Print abstract-floats with full precision. 2022-10-12 19:13:38 +00:00
identifiers/underscore tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
layout/storage/mat2x2 tint/hlsl: remove [loop] attribute on all loops 2022-09-29 16:53:58 +00:00
let/inferred When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
loops Add break-if support. 2022-10-20 22:45:50 +00:00
out_of_order_decls When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
ptr_ref tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
samples wgsl: Print abstract-floats with full precision. 2022-10-12 19:13:38 +00:00
shader_io wgsl: Print abstract-floats with full precision. 2022-10-12 19:13:38 +00:00
shadowing tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
statements Add test for split of `--`. 2022-10-20 18:40:53 +00:00
struct Update internals to initializer instead of constructor. 2022-10-20 13:38:28 +00:00
types When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00
unicode tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
unittest/reader/spirv tint/hlsl: remove [loop] attribute on all loops 2022-09-29 16:53:58 +00:00
var Rename StorageClass to AddressSpace. 2022-10-03 14:05:23 +00:00
vk-gl-cts tint/hlsl: remove [loop] attribute on all loops 2022-09-29 16:53:58 +00:00
extract-spvasm.py tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
parse_hlsl_errors.py tint: add parse_hlsl_errors.py to help triage hlsl errors 2022-10-04 19:48:41 +00:00
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00