dawn-cmake/test/tint/builtins/gen/literal/textureNumLevels
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
..
1a3fa9.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
1a3fa9.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
1a3fa9.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
1a3fa9.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
1a3fa9.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
1a3fa9.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
1a3fa9.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
1a7fc3.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
1a7fc3.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
1a7fc3.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
1a7fc3.wgsl.expected.glsl test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
1a7fc3.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
1a7fc3.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
1a7fc3.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2bea6c.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2bea6c.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
2bea6c.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
2bea6c.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
2bea6c.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2bea6c.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2bea6c.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2df1ab.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2df1ab.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
2df1ab.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
2df1ab.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
2df1ab.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2df1ab.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2df1ab.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
9a1a65.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
9a1a65.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
9a1a65.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
9a1a65.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
9a1a65.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
9a1a65.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
9a1a65.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
24b2c6.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
24b2c6.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
24b2c6.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
24b2c6.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
24b2c6.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
24b2c6.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
24b2c6.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
46dbd8.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
46dbd8.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
46dbd8.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
46dbd8.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
46dbd8.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
46dbd8.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
46dbd8.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
60d9b8.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
60d9b8.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
60d9b8.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
60d9b8.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
60d9b8.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
60d9b8.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
60d9b8.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2267d8.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2267d8.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
2267d8.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
2267d8.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
2267d8.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2267d8.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
2267d8.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
181090.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
181090.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
181090.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
181090.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
181090.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
181090.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
181090.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
903920.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
903920.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
903920.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
903920.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
903920.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
903920.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
903920.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
adc783.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
adc783.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
adc783.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
adc783.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
adc783.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
adc783.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
adc783.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ae911c.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ae911c.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
ae911c.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
ae911c.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
ae911c.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ae911c.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ae911c.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c8c25c.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c8c25c.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c8c25c.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c8c25c.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
c8c25c.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c8c25c.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c8c25c.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c386c8.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c386c8.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c386c8.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c386c8.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
c386c8.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c386c8.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c386c8.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c399f9.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c399f9.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c399f9.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
c399f9.wgsl.expected.glsl test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
c399f9.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c399f9.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
c399f9.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d8f73b.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d8f73b.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
d8f73b.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
d8f73b.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
d8f73b.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d8f73b.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d8f73b.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d63126.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d63126.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
d63126.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
d63126.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
d63126.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d63126.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
d63126.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ef7944.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ef7944.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
ef7944.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
ef7944.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
ef7944.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ef7944.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
ef7944.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
efd6df.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
efd6df.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
efd6df.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
efd6df.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
efd6df.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
efd6df.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
efd6df.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
f742c0.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
f742c0.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
f742c0.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
f742c0.wgsl.expected.glsl test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
f742c0.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
f742c0.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
f742c0.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fe2171.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fe2171.wgsl.expected.dxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
fe2171.wgsl.expected.fxc.hlsl tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
fe2171.wgsl.expected.glsl tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
fe2171.wgsl.expected.msl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fe2171.wgsl.expected.spvasm test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00
fe2171.wgsl.expected.wgsl test/tint/builtins/gen: Use returned value 2023-03-06 18:25:08 +00:00