Skip to content

Commit

Permalink
[hlsl] Regen skips for all tint e2e hlsl files
Browse files Browse the repository at this point in the history
Ran:
```
./tools/run tests -tint ./out/debug/tint -format hlsl --generate-skip
./tools/run tests -tint ./out/debug/tin -format hlsl -use-ir --generate-skip
```

Change-Id: Ib6802c529cc3dd82fc244c7cb83f241cb70c4c29
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/203396
Auto-Submit: Antonio Maiorano <[email protected]>
Commit-Queue: Antonio Maiorano <[email protected]>
Reviewed-by: James Price <[email protected]>
  • Loading branch information
amaiorano authored and Dawn LUCI CQ committed Aug 22, 2024
1 parent f1015ca commit cf2f4d6
Show file tree
Hide file tree
Showing 3,610 changed files with 28,912 additions and 23,700 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
SKIP: FAILED

int tint_ftoi(float v) {
return ((v < 2147483520.0f) ? ((v < -2147483648.0f) ? -2147483648 : int(v)) : 2147483647);
}

ByteAddressBuffer sb : register(t0);
RWByteAddressBuffer s : register(u1);

struct tint_symbol_1 {
uint idx : SV_GroupIndex;
Expand Down Expand Up @@ -101,46 +106,50 @@ sb_load_35_ret sb_load_35(uint offset) {
}

void main_inner(uint idx) {
const float scalar_f32 = asfloat(sb.Load((800u * idx)));
const int scalar_i32 = asint(sb.Load(((800u * idx) + 4u)));
const uint scalar_u32 = sb.Load(((800u * idx) + 8u));
const float16_t scalar_f16 = sb.Load<float16_t>(((800u * idx) + 12u));
const float2 vec2_f32 = asfloat(sb.Load2(((800u * idx) + 16u)));
const int2 vec2_i32 = asint(sb.Load2(((800u * idx) + 24u)));
const uint2 vec2_u32 = sb.Load2(((800u * idx) + 32u));
const vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(((800u * idx) + 40u));
const float3 vec3_f32 = asfloat(sb.Load3(((800u * idx) + 48u)));
const int3 vec3_i32 = asint(sb.Load3(((800u * idx) + 64u)));
const uint3 vec3_u32 = sb.Load3(((800u * idx) + 80u));
const vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(((800u * idx) + 96u));
const float4 vec4_f32 = asfloat(sb.Load4(((800u * idx) + 112u)));
const int4 vec4_i32 = asint(sb.Load4(((800u * idx) + 128u)));
const uint4 vec4_u32 = sb.Load4(((800u * idx) + 144u));
const vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(((800u * idx) + 160u));
const float2x2 mat2x2_f32 = sb_load_16(((800u * idx) + 168u));
const float2x3 mat2x3_f32 = sb_load_17(((800u * idx) + 192u));
const float2x4 mat2x4_f32 = sb_load_18(((800u * idx) + 224u));
const float3x2 mat3x2_f32 = sb_load_19(((800u * idx) + 256u));
const float3x3 mat3x3_f32 = sb_load_20(((800u * idx) + 288u));
const float3x4 mat3x4_f32 = sb_load_21(((800u * idx) + 336u));
const float4x2 mat4x2_f32 = sb_load_22(((800u * idx) + 384u));
const float4x3 mat4x3_f32 = sb_load_23(((800u * idx) + 416u));
const float4x4 mat4x4_f32 = sb_load_24(((800u * idx) + 480u));
const matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(((800u * idx) + 544u));
const matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(((800u * idx) + 552u));
const matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(((800u * idx) + 568u));
const matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(((800u * idx) + 584u));
const matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(((800u * idx) + 600u));
const matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(((800u * idx) + 624u));
const matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(((800u * idx) + 648u));
const matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(((800u * idx) + 664u));
const matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(((800u * idx) + 696u));
const float3 arr2_vec3_f32[2] = sb_load_34(((800u * idx) + 736u));
const matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = sb_load_35(((800u * idx) + 768u));
float scalar_f32 = asfloat(sb.Load((800u * idx)));
int scalar_i32 = asint(sb.Load(((800u * idx) + 4u)));
uint scalar_u32 = sb.Load(((800u * idx) + 8u));
float16_t scalar_f16 = sb.Load<float16_t>(((800u * idx) + 12u));
float2 vec2_f32 = asfloat(sb.Load2(((800u * idx) + 16u)));
int2 vec2_i32 = asint(sb.Load2(((800u * idx) + 24u)));
uint2 vec2_u32 = sb.Load2(((800u * idx) + 32u));
vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(((800u * idx) + 40u));
float3 vec3_f32 = asfloat(sb.Load3(((800u * idx) + 48u)));
int3 vec3_i32 = asint(sb.Load3(((800u * idx) + 64u)));
uint3 vec3_u32 = sb.Load3(((800u * idx) + 80u));
vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(((800u * idx) + 96u));
float4 vec4_f32 = asfloat(sb.Load4(((800u * idx) + 112u)));
int4 vec4_i32 = asint(sb.Load4(((800u * idx) + 128u)));
uint4 vec4_u32 = sb.Load4(((800u * idx) + 144u));
vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(((800u * idx) + 160u));
float2x2 mat2x2_f32 = sb_load_16(((800u * idx) + 168u));
float2x3 mat2x3_f32 = sb_load_17(((800u * idx) + 192u));
float2x4 mat2x4_f32 = sb_load_18(((800u * idx) + 224u));
float3x2 mat3x2_f32 = sb_load_19(((800u * idx) + 256u));
float3x3 mat3x3_f32 = sb_load_20(((800u * idx) + 288u));
float3x4 mat3x4_f32 = sb_load_21(((800u * idx) + 336u));
float4x2 mat4x2_f32 = sb_load_22(((800u * idx) + 384u));
float4x3 mat4x3_f32 = sb_load_23(((800u * idx) + 416u));
float4x4 mat4x4_f32 = sb_load_24(((800u * idx) + 480u));
matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(((800u * idx) + 544u));
matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(((800u * idx) + 552u));
matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(((800u * idx) + 568u));
matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(((800u * idx) + 584u));
matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(((800u * idx) + 600u));
matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(((800u * idx) + 624u));
matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(((800u * idx) + 648u));
matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(((800u * idx) + 664u));
matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(((800u * idx) + 696u));
float3 arr2_vec3_f32[2] = sb_load_34(((800u * idx) + 736u));
matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = sb_load_35(((800u * idx) + 768u));
s.Store(0u, asuint((((((((((((((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + int(scalar_f16)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + int(vec2_f16.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + int(vec3_f16.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + int(vec4_f16.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + int(mat2x2_f16[0].x)) + int(mat2x3_f16[0].x)) + int(mat2x4_f16[0].x)) + int(mat3x2_f16[0].x)) + int(mat3x3_f16[0].x)) + int(mat3x4_f16[0].x)) + int(mat4x2_f16[0].x)) + int(mat4x3_f16[0].x)) + int(mat4x4_f16[0].x)) + int(arr2_mat4x2_f16[0][0].x)) + tint_ftoi(arr2_vec3_f32[0].x))));
}

[numthreads(1, 1, 1)]
void main(tint_symbol_1 tint_symbol) {
main_inner(tint_symbol.idx);
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x0000020BC8A3A850(48,8-16): error X3000: syntax error: unexpected token 'float16_t'

Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,5 @@ void main(main_inputs inputs) {
}

FXC validation failure:
C:\src\dawn\Shader@0x000001DDC5FAA170(12,21-29): error X3000: unrecognized identifier 'float16_t'
C:\src\dawn\Shader@0x000001F1DF34C140(12,21-29): error X3000: unrecognized identifier 'float16_t'

Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ void main_inner(uint idx) {
sb.Store(((800u * idx) + 8u), asuint(0u));
sb.Store<float16_t>(((800u * idx) + 12u), float16_t(0.0h));
sb.Store2(((800u * idx) + 16u), asuint((0.0f).xx));
sb.Store2(((800u * idx) + 24u), asuint((0).xx));
sb.Store2(((800u * idx) + 24u), asuint(int2((0).xx)));
sb.Store2(((800u * idx) + 32u), asuint((0u).xx));
sb.Store<vector<float16_t, 2> >(((800u * idx) + 40u), (float16_t(0.0h)).xx);
sb.Store3(((800u * idx) + 48u), asuint((0.0f).xxx));
sb.Store3(((800u * idx) + 64u), asuint((0).xxx));
sb.Store3(((800u * idx) + 64u), asuint(int3((0).xxx)));
sb.Store3(((800u * idx) + 80u), asuint((0u).xxx));
sb.Store<vector<float16_t, 3> >(((800u * idx) + 96u), (float16_t(0.0h)).xxx);
sb.Store4(((800u * idx) + 112u), asuint((0.0f).xxxx));
sb.Store4(((800u * idx) + 128u), asuint((0).xxxx));
sb.Store4(((800u * idx) + 128u), asuint(int4((0).xxxx)));
sb.Store4(((800u * idx) + 144u), asuint((0u).xxxx));
sb.Store<vector<float16_t, 4> >(((800u * idx) + 160u), (float16_t(0.0h)).xxxx);
sb_store_16(((800u * idx) + 168u), float2x2((0.0f).xx, (0.0f).xx));
Expand All @@ -167,9 +167,9 @@ void main_inner(uint idx) {
sb_store_31(((800u * idx) + 648u), matrix<float16_t, 4, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
sb_store_32(((800u * idx) + 664u), matrix<float16_t, 4, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
sb_store_33(((800u * idx) + 696u), matrix<float16_t, 4, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
const float3 tint_symbol_2[2] = (float3[2])0;
float3 tint_symbol_2[2] = (float3[2])0;
sb_store_34(((800u * idx) + 736u), tint_symbol_2);
const matrix<float16_t, 4, 2> tint_symbol_3[2] = (matrix<float16_t, 4, 2>[2])0;
matrix<float16_t, 4, 2> tint_symbol_3[2] = (matrix<float16_t, 4, 2>[2])0;
sb_store_35(((800u * idx) + 768u), tint_symbol_3);
}

Expand All @@ -178,3 +178,7 @@ void main(tint_symbol_1 tint_symbol) {
main_inner(tint_symbol.idx);
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x0000023E8772C480(61,38-46): error X3000: syntax error: unexpected token 'float16_t'
C:\src\dawn\Shader@0x0000023E8772C480(62,3-10): error X3018: invalid subscript 'Store'

Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,6 @@ void main(main_inputs inputs) {
}

FXC validation failure:
C:\src\dawn\Shader@0x000001E3A924A9E0(7,28-36): error X3000: syntax error: unexpected token 'float16_t'
C:\src\dawn\Shader@0x000001E3A924A9E0(8,3-10): error X3018: invalid subscript 'Store'
C:\src\dawn\Shader@0x000001F73B20B3A0(7,28-36): error X3000: syntax error: unexpected token 'float16_t'
C:\src\dawn\Shader@0x000001F73B20B3A0(8,3-10): error X3018: invalid subscript 'Store'

Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
SKIP: FAILED

int tint_ftoi(float v) {
return ((v < 2147483520.0f) ? ((v < -2147483648.0f) ? -2147483648 : int(v)) : 2147483647);
}

struct Inner {
int scalar_i32;
float scalar_f32;
float16_t scalar_f16;
};

ByteAddressBuffer sb : register(t0);
RWByteAddressBuffer s : register(u1);

float2x2 sb_load_16(uint offset) {
return float2x2(asfloat(sb.Load2((offset + 0u))), asfloat(sb.Load2((offset + 8u))));
Expand Down Expand Up @@ -103,7 +108,7 @@ sb_load_35_ret sb_load_35(uint offset) {
}

Inner sb_load_36(uint offset) {
const Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u))), sb.Load<float16_t>((offset + 8u))};
Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u))), sb.Load<float16_t>((offset + 8u))};
return tint_symbol;
}

Expand All @@ -120,43 +125,47 @@ sb_load_37_ret sb_load_37(uint offset) {

[numthreads(1, 1, 1)]
void main() {
const float scalar_f32 = asfloat(sb.Load(0u));
const int scalar_i32 = asint(sb.Load(4u));
const uint scalar_u32 = sb.Load(8u);
const float16_t scalar_f16 = sb.Load<float16_t>(12u);
const float2 vec2_f32 = asfloat(sb.Load2(16u));
const int2 vec2_i32 = asint(sb.Load2(24u));
const uint2 vec2_u32 = sb.Load2(32u);
const vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(40u);
const float3 vec3_f32 = asfloat(sb.Load3(48u));
const int3 vec3_i32 = asint(sb.Load3(64u));
const uint3 vec3_u32 = sb.Load3(80u);
const vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(96u);
const float4 vec4_f32 = asfloat(sb.Load4(112u));
const int4 vec4_i32 = asint(sb.Load4(128u));
const uint4 vec4_u32 = sb.Load4(144u);
const vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(160u);
const float2x2 mat2x2_f32 = sb_load_16(168u);
const float2x3 mat2x3_f32 = sb_load_17(192u);
const float2x4 mat2x4_f32 = sb_load_18(224u);
const float3x2 mat3x2_f32 = sb_load_19(256u);
const float3x3 mat3x3_f32 = sb_load_20(288u);
const float3x4 mat3x4_f32 = sb_load_21(336u);
const float4x2 mat4x2_f32 = sb_load_22(384u);
const float4x3 mat4x3_f32 = sb_load_23(416u);
const float4x4 mat4x4_f32 = sb_load_24(480u);
const matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(544u);
const matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(552u);
const matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(568u);
const matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(584u);
const matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(600u);
const matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(624u);
const matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(648u);
const matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(664u);
const matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(696u);
const float3 arr2_vec3_f32[2] = sb_load_34(736u);
const matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = sb_load_35(768u);
const Inner struct_inner = sb_load_36(800u);
const Inner array_struct_inner[4] = sb_load_37(812u);
float scalar_f32 = asfloat(sb.Load(0u));
int scalar_i32 = asint(sb.Load(4u));
uint scalar_u32 = sb.Load(8u);
float16_t scalar_f16 = sb.Load<float16_t>(12u);
float2 vec2_f32 = asfloat(sb.Load2(16u));
int2 vec2_i32 = asint(sb.Load2(24u));
uint2 vec2_u32 = sb.Load2(32u);
vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(40u);
float3 vec3_f32 = asfloat(sb.Load3(48u));
int3 vec3_i32 = asint(sb.Load3(64u));
uint3 vec3_u32 = sb.Load3(80u);
vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(96u);
float4 vec4_f32 = asfloat(sb.Load4(112u));
int4 vec4_i32 = asint(sb.Load4(128u));
uint4 vec4_u32 = sb.Load4(144u);
vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(160u);
float2x2 mat2x2_f32 = sb_load_16(168u);
float2x3 mat2x3_f32 = sb_load_17(192u);
float2x4 mat2x4_f32 = sb_load_18(224u);
float3x2 mat3x2_f32 = sb_load_19(256u);
float3x3 mat3x3_f32 = sb_load_20(288u);
float3x4 mat3x4_f32 = sb_load_21(336u);
float4x2 mat4x2_f32 = sb_load_22(384u);
float4x3 mat4x3_f32 = sb_load_23(416u);
float4x4 mat4x4_f32 = sb_load_24(480u);
matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(544u);
matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(552u);
matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(568u);
matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(584u);
matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(600u);
matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(624u);
matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(648u);
matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(664u);
matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(696u);
float3 arr2_vec3_f32[2] = sb_load_34(736u);
matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = sb_load_35(768u);
Inner struct_inner = sb_load_36(800u);
Inner array_struct_inner[4] = sb_load_37(812u);
s.Store(0u, asuint((((((((((((((((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + int(scalar_f16)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + int(vec2_f16.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + int(vec3_f16.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + int(vec4_f16.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + int(mat2x2_f16[0].x)) + int(mat2x3_f16[0].x)) + int(mat2x4_f16[0].x)) + int(mat3x2_f16[0].x)) + int(mat3x3_f16[0].x)) + int(mat3x4_f16[0].x)) + int(mat4x2_f16[0].x)) + int(mat4x3_f16[0].x)) + int(mat4x4_f16[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + int(arr2_mat4x2_f16[0][0].x)) + struct_inner.scalar_i32) + array_struct_inner[0].scalar_i32)));
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x000002378BE1EBB0(8,3-11): error X3000: unrecognized identifier 'float16_t'

Original file line number Diff line number Diff line change
Expand Up @@ -278,5 +278,5 @@ void main() {
}

FXC validation failure:
C:\src\dawn\Shader@0x0000029A7FB9CFD0(4,3-11): error X3000: unrecognized identifier 'float16_t'
C:\src\dawn\Shader@0x0000019D44DA5220(4,3-11): error X3000: unrecognized identifier 'float16_t'

Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,15 @@ void main() {
sb.Store(8u, asuint(0u));
sb.Store<float16_t>(12u, float16_t(0.0h));
sb.Store2(16u, asuint((0.0f).xx));
sb.Store2(24u, asuint((0).xx));
sb.Store2(24u, asuint(int2((0).xx)));
sb.Store2(32u, asuint((0u).xx));
sb.Store<vector<float16_t, 2> >(40u, (float16_t(0.0h)).xx);
sb.Store3(48u, asuint((0.0f).xxx));
sb.Store3(64u, asuint((0).xxx));
sb.Store3(64u, asuint(int3((0).xxx)));
sb.Store3(80u, asuint((0u).xxx));
sb.Store<vector<float16_t, 3> >(96u, (float16_t(0.0h)).xxx);
sb.Store4(112u, asuint((0.0f).xxxx));
sb.Store4(128u, asuint((0).xxxx));
sb.Store4(128u, asuint(int4((0).xxxx)));
sb.Store4(144u, asuint((0u).xxxx));
sb.Store<vector<float16_t, 4> >(160u, (float16_t(0.0h)).xxxx);
sb_store_16(168u, float2x2((0.0f).xx, (0.0f).xx));
Expand All @@ -185,13 +185,16 @@ void main() {
sb_store_31(648u, matrix<float16_t, 4, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
sb_store_32(664u, matrix<float16_t, 4, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
sb_store_33(696u, matrix<float16_t, 4, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
const float3 tint_symbol[2] = (float3[2])0;
float3 tint_symbol[2] = (float3[2])0;
sb_store_34(736u, tint_symbol);
const matrix<float16_t, 4, 2> tint_symbol_1[2] = (matrix<float16_t, 4, 2>[2])0;
matrix<float16_t, 4, 2> tint_symbol_1[2] = (matrix<float16_t, 4, 2>[2])0;
sb_store_35(768u, tint_symbol_1);
const Inner tint_symbol_2 = (Inner)0;
Inner tint_symbol_2 = (Inner)0;
sb_store_36(800u, tint_symbol_2);
const Inner tint_symbol_3[4] = (Inner[4])0;
Inner tint_symbol_3[4] = (Inner[4])0;
sb_store_37(812u, tint_symbol_3);
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x000001A572716CC0(4,3-11): error X3000: unrecognized identifier 'float16_t'

Original file line number Diff line number Diff line change
Expand Up @@ -224,5 +224,5 @@ void main() {
}

FXC validation failure:
C:\src\dawn\Shader@0x0000019D10B18DB0(4,3-11): error X3000: unrecognized identifier 'float16_t'
C:\src\dawn\Shader@0x0000023DEC8FA870(4,3-11): error X3000: unrecognized identifier 'float16_t'

Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ void main() {
tint_symbol_1_store(0u, tint_symbol_load(0u));
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x0000015AA2BE4420(4,39-47): error X3000: unrecognized identifier 'float16_t'

Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ void main() {
}

FXC validation failure:
C:\src\dawn\Shader@0x0000014000C3E830(4,21-29): error X3000: unrecognized identifier 'float16_t'
C:\src\dawn\Shader@0x00000295E8A0C8E0(4,21-29): error X3000: unrecognized identifier 'float16_t'

3 changes: 3 additions & 0 deletions test/tint/buffer/storage/types/f16.wgsl.expected.fxc.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ void main() {
tint_symbol_1.Store<float16_t>(0u, tint_symbol.Load<float16_t>(0u));
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x0000024D32420560(6,3-21): error X3018: invalid subscript 'Store'

Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ void main() {
}

FXC validation failure:
C:\src\dawn\Shader@0x0000018D8C9B3B30(6,3-21): error X3018: invalid subscript 'Store'
C:\src\dawn\Shader@0x0000014881472E20(6,3-21): error X3018: invalid subscript 'Store'

Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ void main() {
tint_symbol_1_store(0u, tint_symbol_load(0u));
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x000001CCD84DD750(4,46-54): error X3000: syntax error: unexpected token 'float16_t'
C:\src\dawn\Shader@0x000001CCD84DD750(5,3-21): error X3018: invalid subscript 'Store'

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ void main() {
}

FXC validation failure:
C:\src\dawn\Shader@0x00000291B00EED40(4,28-36): error X3000: syntax error: unexpected token 'float16_t'
C:\src\dawn\Shader@0x00000291B00EED40(5,3-21): error X3018: invalid subscript 'Store'
C:\src\dawn\Shader@0x000001E2666938C0(4,28-36): error X3000: syntax error: unexpected token 'float16_t'
C:\src\dawn\Shader@0x000001E2666938C0(5,3-21): error X3018: invalid subscript 'Store'

Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ void main() {
tint_symbol_1_store(0u, tint_symbol_load(0u));
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x000001A95EA6F920(4,46-54): error X3000: syntax error: unexpected token 'float16_t'
C:\src\dawn\Shader@0x000001A95EA6F920(5,3-21): error X3018: invalid subscript 'Store'

Loading

0 comments on commit cf2f4d6

Please sign in to comment.