dawn-cmake/test/intrinsics/gen
Ben Clayton 5e35864c1b writer/spirv: Fix abs() on unsigned integers
GLSLstd450SAbs expects a *signed* integer.
abs() of an unsigned number is now a no-op.

Fixes WebGPU CTS tests:
webgpu:shader,execution,robust_access_vertex:vertex_buffer_access:*

Bug: tint:1194
Change-Id: I65c5e9f2f03aac0b788b9ba88c383cbec136d7c6
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/65620
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Ben Clayton <bclayton@chromium.org>
Reviewed-by: David Neto <dneto@google.com>
2021-10-01 08:41:55 +00:00
..
abs writer/spirv: Fix abs() on unsigned integers 2021-10-01 08:41:55 +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 backend: do not generate a load for ignored expressions 2021-09-16 13:32:57 +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