dawn-cmake/test/tint/bug
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
..
chromium Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
dawn tint: Use "demote-to-helper" semantics for discard 2022-11-09 19:58:59 +00:00
fxc tint/msl: Preserve trailing vec3 padding 2023-02-27 20:21:03 +00:00
tint tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00