dawn-cmake/test/tint/builtins/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
..
depth_ms.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
depth_ms.spvasm.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
depth_ms.spvasm.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
depth_ms.spvasm.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
depth_ms.spvasm.expected.msl tint/writer/msl: Inline constant expressions 2022-06-01 10:08:29 +00:00
depth_ms.spvasm.expected.spvasm tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
depth_ms.spvasm.expected.wgsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00