dawn-cmake/test/tint/builtins/gen
Stephen White 93f686617e GLSL: fix textureGather() and textureGatherOffset() with depth textures.
Unlike other texture functions in GLSL, textureGather() and
textureGatherOffset() do not expect the refZ value to be appended to
the texture coordinates. It is passed as a regular argument. So append
refZ to coordinates by default, and pass as a regular parameter only
for the gather functions.

Bug: tint:1459
Change-Id: Iad1255be3de5915aeff4adb9054479b9e92c45cb
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82340
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-03-02 14:07: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: fix countOneBits(). 2022-03-01 14:25:42 +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 GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
pack2x16snorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
pack2x16unorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
pack4x8snorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
pack4x8unorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +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: fix textureGather() and textureGatherOffset() with depth textures. 2022-03-02 14:07:02 +00:00
textureGather tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
textureGatherCompare GLSL: fix textureGather() and textureGatherOffset() with depth textures. 2022-03-02 14:07:02 +00:00
textureLoad GLSL: fix textureGather() and textureGatherOffset() with depth textures. 2022-03-02 14:07: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: fix textureGather() and textureGatherOffset() with depth textures. 2022-03-02 14:07: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 GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
unpack2x16snorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
unpack2x16unorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
unpack4x8snorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
unpack4x8unorm GLSL: implement pack/unpack builtins. 2022-02-28 21:19:02 +00:00
workgroupBarrier tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00