dawn-cmake/test/tint/builtins/gen/var
Ben Clayton 068eb3ebda tint: Fix HLSL texture queries and re-add textureNumLayers()
... overloads for texture cube arrays

FXC is telling porkies, when it says "The array element count
of GetDimensions on TextureCubeArray objects is unavailable
on ps_5_1".

The actual issue, as identified by Teodor Tanasoaia at Mozilla,
is that the argument needs to be unsigned.

In fact, *all* the texture queries should have used an unsigned
scalar or vector for the output value. This has been broken
forever!

This reverts commit bd9f6e6684.

Change-Id: I3e217bec17c6fd203cff618b143ebef3d8a61927
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122980
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2023-03-08 02:48:34 +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 test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +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