dawn-cmake/test/intrinsics/gen
James Price f9d19719fd Implement atomicSub intrinsic
Polyfill this for HLSL using an atomic add with the operand negated.

Fixed: tint:1130
Change-Id: Ifa32d58973f1b48593ec0f6320f47f4358a5a3a9
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/62760
Auto-Submit: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-08-26 15:26:25 +00:00
..
abs spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
acos spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
all spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
any spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
arrayLength msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
asin spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atan spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atan2 spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicAdd spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicAnd spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicCompareExchangeWeak spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicExchange spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicLoad spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicMax spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicMin spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicOr spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicStore spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
atomicSub Implement atomicSub intrinsic 2021-08-26 15:26:25 +00:00
atomicXor spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
ceil spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
clamp spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
cos spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
cosh spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
countOneBits spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
cross spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
determinant spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
distance spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
dot spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
dpdx writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdxCoarse writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdxFine writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdy writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdyCoarse writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdyFine writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
exp spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
exp2 spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
faceForward spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
floor spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
fma spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
fract spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
frexp spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
fwidth writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
fwidthCoarse writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
fwidthFine writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
ignore spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
inverseSqrt spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
isFinite spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
isInf spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
isNan spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
isNormal spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
ldexp spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
length spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
log spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
log2 spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
max spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
min spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
mix spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
modf spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
normalize spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
pack2x16float spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
pack2x16snorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
pack2x16unorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
pack4x8snorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
pack4x8unorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
pow spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
reflect spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
refract spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
reverseBits spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
round spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
select spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
sign spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
sin spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
sinh spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
smoothStep spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
sqrt spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
step spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
storageBarrier validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
tan spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
tanh spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
textureDimensions spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
textureLoad spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
textureNumLayers spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
textureNumLevels spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
textureNumSamples spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
textureSample msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
textureSampleBias msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
textureSampleCompare msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
textureSampleCompareLevel msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
textureSampleGrad msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
textureSampleLevel msl: Automatically remap binding numbers in exe 2021-08-12 19:47:20 +00:00
textureStore spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
transpose spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
trunc spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
unpack2x16float spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
unpack2x16snorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
unpack2x16unorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
unpack4x8snorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
unpack4x8unorm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
workgroupBarrier validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00