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 bd9f6e66842ed986dfff3264326bb385d467c5f3.

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
..
2023-03-07 18:28:38 +00:00
2023-01-06 02:57:36 +00:00
2023-03-07 09:27:45 +00:00
2022-08-03 21:40:46 +00:00
2023-03-07 18:28:38 +00:00
2022-05-01 14:40:55 +00:00
2023-02-15 04:35:01 +00:00
2022-11-17 19:16:24 +00:00
2023-02-24 20:59:08 +00:00
2022-11-29 21:17:37 +00:00
2022-11-29 21:17:37 +00:00
2023-02-07 21:28:09 +00:00