dawn-cmake/test/tint/builtins
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
..
arrayLength GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
atomicStore Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00
atomics/from_gen Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00
extractBits Tint: Fix extractBits polyfill 2022-11-30 23:55:28 +00:00
frexp tint/transform: fix PromoteInitializersToLet for constant expressions 2022-12-09 12:34:36 +00:00
gen tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
insertBits Tint/transform: Fix insertBits polyfill for HLSL 2022-11-09 01:54:08 +00:00
modf tint/transform: fix PromoteInitializersToLet for constant expressions 2022-12-09 12:34:36 +00:00
textureDimensions tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
textureGather tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
textureLoad Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00
textureNumSamples tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
textureStore tint: Add bgra8unorm storage texture support 2023-01-18 19:42:03 +00:00
workgroupUniformLoad Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00
degrees.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
degrees.spvasm.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
degrees.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
frexp.wgsl tint: Rename `frexp().sig` to `frexp().fract` 2022-11-14 15:29:29 +00:00
frexp.wgsl.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.spvasm tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
frexp.wgsl.expected.wgsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
radians.spvasm.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
radians.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
repeated_use.wgsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.spvasm Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.wgsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00