dawn-cmake/test/tint/builtins/gen
Stephen White 59f1e8d06c GLSL: special-case BinaryOp::kModulo for floating point.
The '%' operator in GLSL is integer-only. Use the full OpFRem
expression: (a - b * trunc(a / b)).

Bug: tint:1270
Change-Id: I0a969983bef132e004ce456d4a738488e400a61b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/68760
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 21:15:02 +00:00
..
abs tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
acos tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
all tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
any tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
arrayLength tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
asin tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atan tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atan2 tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicAdd tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicAnd tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicCompareExchangeWeak tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicExchange tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicLoad tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicMax tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicMin tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicOr tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicStore tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicSub tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
atomicXor tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
ceil tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
clamp tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
cos tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
cosh tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
countLeadingZeros builtins: Add countLeadingZeros 2022-02-22 23:13:39 +00:00
countOneBits GLSL: implement reverseBits(). 2022-02-28 17:43:37 +00:00
countTrailingZeros builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
cross tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
degrees tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
determinant tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
distance tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
dot tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
dpdx GLSL: implement derivative instructions. 2022-02-28 18:08:13 +00:00
dpdxCoarse GLSL: implement derivative instructions. 2022-02-28 18:08:13 +00:00
dpdxFine GLSL: implement derivative instructions. 2022-02-28 18:08:13 +00:00
dpdy GLSL: implement derivative instructions. 2022-02-28 18:08:13 +00:00
dpdyCoarse GLSL: implement derivative instructions. 2022-02-28 18:08:13 +00:00
dpdyFine GLSL: implement derivative instructions. 2022-02-28 18:08:13 +00:00
exp tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
exp2 tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
extractBits builtins: Add extractBits 2022-02-23 21:18:09 +00:00
faceForward tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
firstLeadingBit builtins: Add firstLeadingBit 2022-02-23 18:20:30 +00:00
firstTrailingBit builtins: Add firstTrailingBit 2022-02-23 14:32:14 +00:00
floor tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
fma GLSL: implement fma(). 2022-02-28 20:03:11 +00:00
fract GLSL: implement fract() builtin function. 2022-02-28 18:19:47 +00:00
frexp tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
fwidth tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
fwidthCoarse tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
fwidthFine tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
insertBits builtins: Add insertBits 2022-02-23 21:18:09 +00:00
inverseSqrt GLSL: implement inverseSqrt() and update test expectations. 2022-02-28 18:23:17 +00:00
isFinite tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
isInf tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
isNan tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
isNormal tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
ldexp tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
length tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
log tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
log2 tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
max tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
min tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
mix tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
modf tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
normalize tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
pack2x16float tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
pack2x16snorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
pack2x16unorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
pack4x8snorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
pack4x8unorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
pow tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
radians tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
reflect tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
refract tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
reverseBits GLSL: implement reverseBits(). 2022-02-28 17:43:37 +00:00
round tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
select tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
sign tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
sin tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
sinh tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
smoothStep tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
sqrt tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
step tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
storageBarrier tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
tan tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
tanh tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureDimensions GLSL: special-case BinaryOp::kModulo for floating point. 2022-02-28 21:15:02 +00:00
textureGather tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureGatherCompare tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureLoad GLSL: special-case BinaryOp::kModulo for floating point. 2022-02-28 21:15:02 +00:00
textureNumLayers tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureNumLevels tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureNumSamples tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureSample tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureSampleBias tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureSampleCompare tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureSampleCompareLevel tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureSampleGrad tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureSampleLevel GLSL: special-case BinaryOp::kModulo for floating point. 2022-02-28 21:15:02 +00:00
textureStore tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
transpose tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
trunc tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
unpack2x16float tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
unpack2x16snorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
unpack2x16unorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
unpack4x8snorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
unpack4x8unorm tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
workgroupBarrier tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00