dawn-cmake/test/intrinsics/gen
Stephen White 0ff3050c6c GLSL: a grab bag of texture fixes.
Use imageSize() on images, not textureSize().
In GLSL, the LOD parameter to textureSize() is mandatory for
sampled textures, so emit a default 0 if not supplied. (Also, don't pack
the level into the coords argument; that's an HLSLism.)
GLSL returns the array size of array textures in the final component
of textureSize(); remove it for WGSL.
Write the subtype of storage images correctly (uimage*, iimage*, etc).
This required a bit of cleanup to move "writeonly" ahead of subtype
emission.

Bug: tint:1298
Change-Id: Ica1cec0f833a9b684143c8b0cf6d090fb511a7d2
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70140
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-11-19 19:06:23 +00:00
..
abs GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
acos GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
all GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
any GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
arrayLength GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
asin GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
atan GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
atan2 GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
atomicAdd GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicAnd GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicCompareExchangeWeak GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicExchange GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicLoad GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicMax GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicMin GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicOr GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicStore GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicSub GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
atomicXor GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
ceil GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
clamp GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
cos GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
cosh GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
countOneBits GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
cross GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
determinant GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
distance GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
dot GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
dpdx GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
dpdxCoarse GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
dpdxFine GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
dpdy GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
dpdyCoarse GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
dpdyFine GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
exp GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
exp2 GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
faceForward GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
floor GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
fma GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
fract GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
frexp GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
fwidth GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
fwidthCoarse GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
fwidthFine GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
ignore GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
inverseSqrt GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
isFinite GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
isInf GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
isNan GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
isNormal GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
ldexp GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
length GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
log GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
log2 GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
max GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
min GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
mix GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
modf GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
normalize GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
pack2x16float GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
pack2x16snorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
pack2x16unorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
pack4x8snorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
pack4x8unorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
pow GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
reflect GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
refract GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
reverseBits GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
round GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
select GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
sign GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
sin GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
sinh GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
smoothStep GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
sqrt GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
step GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
storageBarrier GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
tan GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
tanh GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureDimensions GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
textureLoad GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
textureNumLayers GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
textureNumLevels GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureNumSamples GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureSample GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureSampleBias GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureSampleCompare GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureSampleCompareLevel GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureSampleGrad GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureSampleLevel GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureStore GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
transpose GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
trunc GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
unpack2x16float GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
unpack2x16snorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
unpack2x16unorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
unpack4x8snorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
unpack4x8unorm GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
workgroupBarrier GLSL: implement atomics. 2021-11-19 17:46:13 +00:00