dawn-cmake/test/tint/builtins/gen/literal
Ben Clayton 51be3420b8 tint/writer/glsl: Fix emission of lowest i32 value
GLSL has the same behavior as MSL, in that -2147483648 is parsed as
a unary minus on '2147483648'. 2147483648 overflows an i32, so this
actually gets treated as -0.

Change-Id: Ibebd8b78a8840f18c438ed1d3d24dee486a65816
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123202
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-03-08 21:13:22 +00:00
..
abs test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
acos test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
acosh test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
all test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
any test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
arrayLength test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
asin test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
asinh test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atan test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atan2 test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atanh test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicAdd test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicAnd test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicCompareExchangeWeak test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicExchange test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicLoad test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicMax test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicMin test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicOr test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicStore test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicSub test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
atomicXor test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ceil test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
clamp test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
cos test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
cosh test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
countLeadingZeros test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
countOneBits test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
countTrailingZeros test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
cross test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
degrees test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
determinant test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
distance test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dot test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dot4I8Packed test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dot4U8Packed test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dpdx test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dpdxCoarse test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dpdxFine test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dpdy test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dpdyCoarse test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dpdyFine test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
exp test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
exp2 test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
extractBits test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
faceForward test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
firstLeadingBit test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
firstTrailingBit test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
floor test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fma test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fract test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
frexp test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fwidth test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fwidthCoarse test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fwidthFine test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
insertBits test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
inverseSqrt test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ldexp test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
length test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
log test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
log2 test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
max test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
min test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
mix test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
modf test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
normalize test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
pack2x16float test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
pack2x16snorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
pack2x16unorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
pack4x8snorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
pack4x8unorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
pow test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
quantizeToF16 test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
radians test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
reflect test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
refract test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
reverseBits tint/writer/glsl: Fix emission of lowest i32 value 2023-03-08 21:13:22 +00:00
round test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
saturate test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
select test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
sign test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
sin test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
sinh test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
smoothstep test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
sqrt test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
step test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
storageBarrier test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
tan test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
tanh test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureDimensions tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
textureGather test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureGatherCompare test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureLoad test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureNumLayers tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
textureNumLevels tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
textureNumSamples tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
textureSample test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureSampleBaseClampToEdge tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
textureSampleBias test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureSampleCompare test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureSampleCompareLevel test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureSampleGrad test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureSampleLevel test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
textureStore test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
transpose test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
trunc test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
unpack2x16float test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
unpack2x16snorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
unpack2x16unorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
unpack4x8snorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
unpack4x8unorm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
workgroupBarrier test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
workgroupUniformLoad test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00