dawn-cmake/test/tint/builtins/gen/var/textureNumSamples
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
..
50f399.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
50f399.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
50f399.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
50f399.wgsl.expected.glsl
50f399.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
50f399.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
50f399.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c1a777.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c1a777.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c1a777.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c1a777.wgsl.expected.glsl
c1a777.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c1a777.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c1a777.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dbb799.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dbb799.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
dbb799.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
dbb799.wgsl.expected.glsl
dbb799.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dbb799.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
dbb799.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ecd321.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ecd321.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
ecd321.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
ecd321.wgsl.expected.glsl
ecd321.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ecd321.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ecd321.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00