test/tint: Update SKIP "expectations"

Change-Id: I131522625051426e93624fbe4f4763071f26ad72
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122202
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
Ben Clayton
2023-03-02 09:25:40 +00:00
committed by Dawn LUCI CQ
parent f0e578f8bd
commit b990d393f5
958 changed files with 12120 additions and 5591 deletions

View File

@@ -6,95 +6,95 @@ struct tint_symbol_1 {
uint idx : SV_GroupIndex;
};
float2x2 tint_symbol_18(ByteAddressBuffer buffer, uint offset) {
return float2x2(asfloat(buffer.Load2((offset + 0u))), asfloat(buffer.Load2((offset + 8u))));
float2x2 sb_load_16(uint offset) {
return float2x2(asfloat(sb.Load2((offset + 0u))), asfloat(sb.Load2((offset + 8u))));
}
float2x3 tint_symbol_19(ByteAddressBuffer buffer, uint offset) {
return float2x3(asfloat(buffer.Load3((offset + 0u))), asfloat(buffer.Load3((offset + 16u))));
float2x3 sb_load_17(uint offset) {
return float2x3(asfloat(sb.Load3((offset + 0u))), asfloat(sb.Load3((offset + 16u))));
}
float2x4 tint_symbol_20(ByteAddressBuffer buffer, uint offset) {
return float2x4(asfloat(buffer.Load4((offset + 0u))), asfloat(buffer.Load4((offset + 16u))));
float2x4 sb_load_18(uint offset) {
return float2x4(asfloat(sb.Load4((offset + 0u))), asfloat(sb.Load4((offset + 16u))));
}
float3x2 tint_symbol_21(ByteAddressBuffer buffer, uint offset) {
return float3x2(asfloat(buffer.Load2((offset + 0u))), asfloat(buffer.Load2((offset + 8u))), asfloat(buffer.Load2((offset + 16u))));
float3x2 sb_load_19(uint offset) {
return float3x2(asfloat(sb.Load2((offset + 0u))), asfloat(sb.Load2((offset + 8u))), asfloat(sb.Load2((offset + 16u))));
}
float3x3 tint_symbol_22(ByteAddressBuffer buffer, uint offset) {
return float3x3(asfloat(buffer.Load3((offset + 0u))), asfloat(buffer.Load3((offset + 16u))), asfloat(buffer.Load3((offset + 32u))));
float3x3 sb_load_20(uint offset) {
return float3x3(asfloat(sb.Load3((offset + 0u))), asfloat(sb.Load3((offset + 16u))), asfloat(sb.Load3((offset + 32u))));
}
float3x4 tint_symbol_23(ByteAddressBuffer buffer, uint offset) {
return float3x4(asfloat(buffer.Load4((offset + 0u))), asfloat(buffer.Load4((offset + 16u))), asfloat(buffer.Load4((offset + 32u))));
float3x4 sb_load_21(uint offset) {
return float3x4(asfloat(sb.Load4((offset + 0u))), asfloat(sb.Load4((offset + 16u))), asfloat(sb.Load4((offset + 32u))));
}
float4x2 tint_symbol_24(ByteAddressBuffer buffer, uint offset) {
return float4x2(asfloat(buffer.Load2((offset + 0u))), asfloat(buffer.Load2((offset + 8u))), asfloat(buffer.Load2((offset + 16u))), asfloat(buffer.Load2((offset + 24u))));
float4x2 sb_load_22(uint offset) {
return float4x2(asfloat(sb.Load2((offset + 0u))), asfloat(sb.Load2((offset + 8u))), asfloat(sb.Load2((offset + 16u))), asfloat(sb.Load2((offset + 24u))));
}
float4x3 tint_symbol_25(ByteAddressBuffer buffer, uint offset) {
return float4x3(asfloat(buffer.Load3((offset + 0u))), asfloat(buffer.Load3((offset + 16u))), asfloat(buffer.Load3((offset + 32u))), asfloat(buffer.Load3((offset + 48u))));
float4x3 sb_load_23(uint offset) {
return float4x3(asfloat(sb.Load3((offset + 0u))), asfloat(sb.Load3((offset + 16u))), asfloat(sb.Load3((offset + 32u))), asfloat(sb.Load3((offset + 48u))));
}
float4x4 tint_symbol_26(ByteAddressBuffer buffer, uint offset) {
return float4x4(asfloat(buffer.Load4((offset + 0u))), asfloat(buffer.Load4((offset + 16u))), asfloat(buffer.Load4((offset + 32u))), asfloat(buffer.Load4((offset + 48u))));
float4x4 sb_load_24(uint offset) {
return float4x4(asfloat(sb.Load4((offset + 0u))), asfloat(sb.Load4((offset + 16u))), asfloat(sb.Load4((offset + 32u))), asfloat(sb.Load4((offset + 48u))));
}
matrix<float16_t, 2, 2> tint_symbol_27(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 2, 2>(buffer.Load<vector<float16_t, 2> >((offset + 0u)), buffer.Load<vector<float16_t, 2> >((offset + 4u)));
matrix<float16_t, 2, 2> sb_load_25(uint offset) {
return matrix<float16_t, 2, 2>(sb.Load<vector<float16_t, 2> >((offset + 0u)), sb.Load<vector<float16_t, 2> >((offset + 4u)));
}
matrix<float16_t, 2, 3> tint_symbol_28(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 2, 3>(buffer.Load<vector<float16_t, 3> >((offset + 0u)), buffer.Load<vector<float16_t, 3> >((offset + 8u)));
matrix<float16_t, 2, 3> sb_load_26(uint offset) {
return matrix<float16_t, 2, 3>(sb.Load<vector<float16_t, 3> >((offset + 0u)), sb.Load<vector<float16_t, 3> >((offset + 8u)));
}
matrix<float16_t, 2, 4> tint_symbol_29(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 2, 4>(buffer.Load<vector<float16_t, 4> >((offset + 0u)), buffer.Load<vector<float16_t, 4> >((offset + 8u)));
matrix<float16_t, 2, 4> sb_load_27(uint offset) {
return matrix<float16_t, 2, 4>(sb.Load<vector<float16_t, 4> >((offset + 0u)), sb.Load<vector<float16_t, 4> >((offset + 8u)));
}
matrix<float16_t, 3, 2> tint_symbol_30(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 3, 2>(buffer.Load<vector<float16_t, 2> >((offset + 0u)), buffer.Load<vector<float16_t, 2> >((offset + 4u)), buffer.Load<vector<float16_t, 2> >((offset + 8u)));
matrix<float16_t, 3, 2> sb_load_28(uint offset) {
return matrix<float16_t, 3, 2>(sb.Load<vector<float16_t, 2> >((offset + 0u)), sb.Load<vector<float16_t, 2> >((offset + 4u)), sb.Load<vector<float16_t, 2> >((offset + 8u)));
}
matrix<float16_t, 3, 3> tint_symbol_31(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 3, 3>(buffer.Load<vector<float16_t, 3> >((offset + 0u)), buffer.Load<vector<float16_t, 3> >((offset + 8u)), buffer.Load<vector<float16_t, 3> >((offset + 16u)));
matrix<float16_t, 3, 3> sb_load_29(uint offset) {
return matrix<float16_t, 3, 3>(sb.Load<vector<float16_t, 3> >((offset + 0u)), sb.Load<vector<float16_t, 3> >((offset + 8u)), sb.Load<vector<float16_t, 3> >((offset + 16u)));
}
matrix<float16_t, 3, 4> tint_symbol_32(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 3, 4>(buffer.Load<vector<float16_t, 4> >((offset + 0u)), buffer.Load<vector<float16_t, 4> >((offset + 8u)), buffer.Load<vector<float16_t, 4> >((offset + 16u)));
matrix<float16_t, 3, 4> sb_load_30(uint offset) {
return matrix<float16_t, 3, 4>(sb.Load<vector<float16_t, 4> >((offset + 0u)), sb.Load<vector<float16_t, 4> >((offset + 8u)), sb.Load<vector<float16_t, 4> >((offset + 16u)));
}
matrix<float16_t, 4, 2> tint_symbol_33(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 4, 2>(buffer.Load<vector<float16_t, 2> >((offset + 0u)), buffer.Load<vector<float16_t, 2> >((offset + 4u)), buffer.Load<vector<float16_t, 2> >((offset + 8u)), buffer.Load<vector<float16_t, 2> >((offset + 12u)));
matrix<float16_t, 4, 2> sb_load_31(uint offset) {
return matrix<float16_t, 4, 2>(sb.Load<vector<float16_t, 2> >((offset + 0u)), sb.Load<vector<float16_t, 2> >((offset + 4u)), sb.Load<vector<float16_t, 2> >((offset + 8u)), sb.Load<vector<float16_t, 2> >((offset + 12u)));
}
matrix<float16_t, 4, 3> tint_symbol_34(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 4, 3>(buffer.Load<vector<float16_t, 3> >((offset + 0u)), buffer.Load<vector<float16_t, 3> >((offset + 8u)), buffer.Load<vector<float16_t, 3> >((offset + 16u)), buffer.Load<vector<float16_t, 3> >((offset + 24u)));
matrix<float16_t, 4, 3> sb_load_32(uint offset) {
return matrix<float16_t, 4, 3>(sb.Load<vector<float16_t, 3> >((offset + 0u)), sb.Load<vector<float16_t, 3> >((offset + 8u)), sb.Load<vector<float16_t, 3> >((offset + 16u)), sb.Load<vector<float16_t, 3> >((offset + 24u)));
}
matrix<float16_t, 4, 4> tint_symbol_35(ByteAddressBuffer buffer, uint offset) {
return matrix<float16_t, 4, 4>(buffer.Load<vector<float16_t, 4> >((offset + 0u)), buffer.Load<vector<float16_t, 4> >((offset + 8u)), buffer.Load<vector<float16_t, 4> >((offset + 16u)), buffer.Load<vector<float16_t, 4> >((offset + 24u)));
matrix<float16_t, 4, 4> sb_load_33(uint offset) {
return matrix<float16_t, 4, 4>(sb.Load<vector<float16_t, 4> >((offset + 0u)), sb.Load<vector<float16_t, 4> >((offset + 8u)), sb.Load<vector<float16_t, 4> >((offset + 16u)), sb.Load<vector<float16_t, 4> >((offset + 24u)));
}
typedef float3 tint_symbol_36_ret[2];
tint_symbol_36_ret tint_symbol_36(ByteAddressBuffer buffer, uint offset) {
typedef float3 sb_load_34_ret[2];
sb_load_34_ret sb_load_34(uint offset) {
float3 arr_1[2] = (float3[2])0;
{
for(uint i = 0u; (i < 2u); i = (i + 1u)) {
arr_1[i] = asfloat(buffer.Load3((offset + (i * 16u))));
arr_1[i] = asfloat(sb.Load3((offset + (i * 16u))));
}
}
return arr_1;
}
typedef matrix<float16_t, 4, 2> tint_symbol_37_ret[2];
tint_symbol_37_ret tint_symbol_37(ByteAddressBuffer buffer, uint offset) {
typedef matrix<float16_t, 4, 2> sb_load_35_ret[2];
sb_load_35_ret sb_load_35(uint offset) {
matrix<float16_t, 4, 2> arr_2[2] = (matrix<float16_t, 4, 2>[2])0;
{
for(uint i_1 = 0u; (i_1 < 2u); i_1 = (i_1 + 1u)) {
arr_2[i_1] = tint_symbol_33(buffer, (offset + (i_1 * 16u)));
arr_2[i_1] = sb_load_31((offset + (i_1 * 16u)));
}
}
return arr_2;
@@ -117,26 +117,26 @@ void main_inner(uint idx) {
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 = tint_symbol_18(sb, ((800u * idx) + 168u));
const float2x3 mat2x3_f32 = tint_symbol_19(sb, ((800u * idx) + 192u));
const float2x4 mat2x4_f32 = tint_symbol_20(sb, ((800u * idx) + 224u));
const float3x2 mat3x2_f32 = tint_symbol_21(sb, ((800u * idx) + 256u));
const float3x3 mat3x3_f32 = tint_symbol_22(sb, ((800u * idx) + 288u));
const float3x4 mat3x4_f32 = tint_symbol_23(sb, ((800u * idx) + 336u));
const float4x2 mat4x2_f32 = tint_symbol_24(sb, ((800u * idx) + 384u));
const float4x3 mat4x3_f32 = tint_symbol_25(sb, ((800u * idx) + 416u));
const float4x4 mat4x4_f32 = tint_symbol_26(sb, ((800u * idx) + 480u));
const matrix<float16_t, 2, 2> mat2x2_f16 = tint_symbol_27(sb, ((800u * idx) + 544u));
const matrix<float16_t, 2, 3> mat2x3_f16 = tint_symbol_28(sb, ((800u * idx) + 552u));
const matrix<float16_t, 2, 4> mat2x4_f16 = tint_symbol_29(sb, ((800u * idx) + 568u));
const matrix<float16_t, 3, 2> mat3x2_f16 = tint_symbol_30(sb, ((800u * idx) + 584u));
const matrix<float16_t, 3, 3> mat3x3_f16 = tint_symbol_31(sb, ((800u * idx) + 600u));
const matrix<float16_t, 3, 4> mat3x4_f16 = tint_symbol_32(sb, ((800u * idx) + 624u));
const matrix<float16_t, 4, 2> mat4x2_f16 = tint_symbol_33(sb, ((800u * idx) + 648u));
const matrix<float16_t, 4, 3> mat4x3_f16 = tint_symbol_34(sb, ((800u * idx) + 664u));
const matrix<float16_t, 4, 4> mat4x4_f16 = tint_symbol_35(sb, ((800u * idx) + 696u));
const float3 arr2_vec3_f32[2] = tint_symbol_36(sb, ((800u * idx) + 736u));
const matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = tint_symbol_37(sb, ((800u * idx) + 768u));
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));
}
[numthreads(1, 1, 1)]
@@ -144,6 +144,3 @@ void main(tint_symbol_1 tint_symbol) {
main_inner(tint_symbol.idx);
return;
}
FXC validation failure:
D:\Projects\RampUp\dawn\test\tint\buffer\Shader@0x0000018A2D5DB890(43,8-16): error X3000: syntax error: unexpected token 'float16_t'

View File

@@ -6,128 +6,128 @@ struct tint_symbol_1 {
uint idx : SV_GroupIndex;
};
void tint_symbol_18(RWByteAddressBuffer buffer, uint offset, float2x2 value) {
buffer.Store2((offset + 0u), asuint(value[0u]));
buffer.Store2((offset + 8u), asuint(value[1u]));
void sb_store_16(uint offset, float2x2 value) {
sb.Store2((offset + 0u), asuint(value[0u]));
sb.Store2((offset + 8u), asuint(value[1u]));
}
void tint_symbol_19(RWByteAddressBuffer buffer, uint offset, float2x3 value) {
buffer.Store3((offset + 0u), asuint(value[0u]));
buffer.Store3((offset + 16u), asuint(value[1u]));
void sb_store_17(uint offset, float2x3 value) {
sb.Store3((offset + 0u), asuint(value[0u]));
sb.Store3((offset + 16u), asuint(value[1u]));
}
void tint_symbol_20(RWByteAddressBuffer buffer, uint offset, float2x4 value) {
buffer.Store4((offset + 0u), asuint(value[0u]));
buffer.Store4((offset + 16u), asuint(value[1u]));
void sb_store_18(uint offset, float2x4 value) {
sb.Store4((offset + 0u), asuint(value[0u]));
sb.Store4((offset + 16u), asuint(value[1u]));
}
void tint_symbol_21(RWByteAddressBuffer buffer, uint offset, float3x2 value) {
buffer.Store2((offset + 0u), asuint(value[0u]));
buffer.Store2((offset + 8u), asuint(value[1u]));
buffer.Store2((offset + 16u), asuint(value[2u]));
void sb_store_19(uint offset, float3x2 value) {
sb.Store2((offset + 0u), asuint(value[0u]));
sb.Store2((offset + 8u), asuint(value[1u]));
sb.Store2((offset + 16u), asuint(value[2u]));
}
void tint_symbol_22(RWByteAddressBuffer buffer, uint offset, float3x3 value) {
buffer.Store3((offset + 0u), asuint(value[0u]));
buffer.Store3((offset + 16u), asuint(value[1u]));
buffer.Store3((offset + 32u), asuint(value[2u]));
void sb_store_20(uint offset, float3x3 value) {
sb.Store3((offset + 0u), asuint(value[0u]));
sb.Store3((offset + 16u), asuint(value[1u]));
sb.Store3((offset + 32u), asuint(value[2u]));
}
void tint_symbol_23(RWByteAddressBuffer buffer, uint offset, float3x4 value) {
buffer.Store4((offset + 0u), asuint(value[0u]));
buffer.Store4((offset + 16u), asuint(value[1u]));
buffer.Store4((offset + 32u), asuint(value[2u]));
void sb_store_21(uint offset, float3x4 value) {
sb.Store4((offset + 0u), asuint(value[0u]));
sb.Store4((offset + 16u), asuint(value[1u]));
sb.Store4((offset + 32u), asuint(value[2u]));
}
void tint_symbol_24(RWByteAddressBuffer buffer, uint offset, float4x2 value) {
buffer.Store2((offset + 0u), asuint(value[0u]));
buffer.Store2((offset + 8u), asuint(value[1u]));
buffer.Store2((offset + 16u), asuint(value[2u]));
buffer.Store2((offset + 24u), asuint(value[3u]));
void sb_store_22(uint offset, float4x2 value) {
sb.Store2((offset + 0u), asuint(value[0u]));
sb.Store2((offset + 8u), asuint(value[1u]));
sb.Store2((offset + 16u), asuint(value[2u]));
sb.Store2((offset + 24u), asuint(value[3u]));
}
void tint_symbol_25(RWByteAddressBuffer buffer, uint offset, float4x3 value) {
buffer.Store3((offset + 0u), asuint(value[0u]));
buffer.Store3((offset + 16u), asuint(value[1u]));
buffer.Store3((offset + 32u), asuint(value[2u]));
buffer.Store3((offset + 48u), asuint(value[3u]));
void sb_store_23(uint offset, float4x3 value) {
sb.Store3((offset + 0u), asuint(value[0u]));
sb.Store3((offset + 16u), asuint(value[1u]));
sb.Store3((offset + 32u), asuint(value[2u]));
sb.Store3((offset + 48u), asuint(value[3u]));
}
void tint_symbol_26(RWByteAddressBuffer buffer, uint offset, float4x4 value) {
buffer.Store4((offset + 0u), asuint(value[0u]));
buffer.Store4((offset + 16u), asuint(value[1u]));
buffer.Store4((offset + 32u), asuint(value[2u]));
buffer.Store4((offset + 48u), asuint(value[3u]));
void sb_store_24(uint offset, float4x4 value) {
sb.Store4((offset + 0u), asuint(value[0u]));
sb.Store4((offset + 16u), asuint(value[1u]));
sb.Store4((offset + 32u), asuint(value[2u]));
sb.Store4((offset + 48u), asuint(value[3u]));
}
void tint_symbol_27(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 2, 2> value) {
buffer.Store<vector<float16_t, 2> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 2> >((offset + 4u), value[1u]);
void sb_store_25(uint offset, matrix<float16_t, 2, 2> value) {
sb.Store<vector<float16_t, 2> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 2> >((offset + 4u), value[1u]);
}
void tint_symbol_28(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 2, 3> value) {
buffer.Store<vector<float16_t, 3> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 3> >((offset + 8u), value[1u]);
void sb_store_26(uint offset, matrix<float16_t, 2, 3> value) {
sb.Store<vector<float16_t, 3> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 3> >((offset + 8u), value[1u]);
}
void tint_symbol_29(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 2, 4> value) {
buffer.Store<vector<float16_t, 4> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 4> >((offset + 8u), value[1u]);
void sb_store_27(uint offset, matrix<float16_t, 2, 4> value) {
sb.Store<vector<float16_t, 4> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 4> >((offset + 8u), value[1u]);
}
void tint_symbol_30(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 3, 2> value) {
buffer.Store<vector<float16_t, 2> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 2> >((offset + 4u), value[1u]);
buffer.Store<vector<float16_t, 2> >((offset + 8u), value[2u]);
void sb_store_28(uint offset, matrix<float16_t, 3, 2> value) {
sb.Store<vector<float16_t, 2> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 2> >((offset + 4u), value[1u]);
sb.Store<vector<float16_t, 2> >((offset + 8u), value[2u]);
}
void tint_symbol_31(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 3, 3> value) {
buffer.Store<vector<float16_t, 3> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 3> >((offset + 8u), value[1u]);
buffer.Store<vector<float16_t, 3> >((offset + 16u), value[2u]);
void sb_store_29(uint offset, matrix<float16_t, 3, 3> value) {
sb.Store<vector<float16_t, 3> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 3> >((offset + 8u), value[1u]);
sb.Store<vector<float16_t, 3> >((offset + 16u), value[2u]);
}
void tint_symbol_32(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 3, 4> value) {
buffer.Store<vector<float16_t, 4> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 4> >((offset + 8u), value[1u]);
buffer.Store<vector<float16_t, 4> >((offset + 16u), value[2u]);
void sb_store_30(uint offset, matrix<float16_t, 3, 4> value) {
sb.Store<vector<float16_t, 4> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 4> >((offset + 8u), value[1u]);
sb.Store<vector<float16_t, 4> >((offset + 16u), value[2u]);
}
void tint_symbol_33(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 4, 2> value) {
buffer.Store<vector<float16_t, 2> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 2> >((offset + 4u), value[1u]);
buffer.Store<vector<float16_t, 2> >((offset + 8u), value[2u]);
buffer.Store<vector<float16_t, 2> >((offset + 12u), value[3u]);
void sb_store_31(uint offset, matrix<float16_t, 4, 2> value) {
sb.Store<vector<float16_t, 2> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 2> >((offset + 4u), value[1u]);
sb.Store<vector<float16_t, 2> >((offset + 8u), value[2u]);
sb.Store<vector<float16_t, 2> >((offset + 12u), value[3u]);
}
void tint_symbol_34(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 4, 3> value) {
buffer.Store<vector<float16_t, 3> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 3> >((offset + 8u), value[1u]);
buffer.Store<vector<float16_t, 3> >((offset + 16u), value[2u]);
buffer.Store<vector<float16_t, 3> >((offset + 24u), value[3u]);
void sb_store_32(uint offset, matrix<float16_t, 4, 3> value) {
sb.Store<vector<float16_t, 3> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 3> >((offset + 8u), value[1u]);
sb.Store<vector<float16_t, 3> >((offset + 16u), value[2u]);
sb.Store<vector<float16_t, 3> >((offset + 24u), value[3u]);
}
void tint_symbol_35(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 4, 4> value) {
buffer.Store<vector<float16_t, 4> >((offset + 0u), value[0u]);
buffer.Store<vector<float16_t, 4> >((offset + 8u), value[1u]);
buffer.Store<vector<float16_t, 4> >((offset + 16u), value[2u]);
buffer.Store<vector<float16_t, 4> >((offset + 24u), value[3u]);
void sb_store_33(uint offset, matrix<float16_t, 4, 4> value) {
sb.Store<vector<float16_t, 4> >((offset + 0u), value[0u]);
sb.Store<vector<float16_t, 4> >((offset + 8u), value[1u]);
sb.Store<vector<float16_t, 4> >((offset + 16u), value[2u]);
sb.Store<vector<float16_t, 4> >((offset + 24u), value[3u]);
}
void tint_symbol_36(RWByteAddressBuffer buffer, uint offset, float3 value[2]) {
float3 array[2] = value;
void sb_store_34(uint offset, float3 value[2]) {
float3 array_1[2] = value;
{
for(uint i = 0u; (i < 2u); i = (i + 1u)) {
buffer.Store3((offset + (i * 16u)), asuint(array[i]));
sb.Store3((offset + (i * 16u)), asuint(array_1[i]));
}
}
}
void tint_symbol_37(RWByteAddressBuffer buffer, uint offset, matrix<float16_t, 4, 2> value[2]) {
matrix<float16_t, 4, 2> array_1[2] = value;
void sb_store_35(uint offset, matrix<float16_t, 4, 2> value[2]) {
matrix<float16_t, 4, 2> array_2[2] = value;
{
for(uint i_1 = 0u; (i_1 < 2u); i_1 = (i_1 + 1u)) {
tint_symbol_33(buffer, (offset + (i_1 * 16u)), array_1[i_1]);
sb_store_31((offset + (i_1 * 16u)), array_2[i_1]);
}
}
}
@@ -149,28 +149,28 @@ void main_inner(uint idx) {
sb.Store4(((800u * idx) + 128u), asuint((0).xxxx));
sb.Store4(((800u * idx) + 144u), asuint((0u).xxxx));
sb.Store<vector<float16_t, 4> >(((800u * idx) + 160u), (float16_t(0.0h)).xxxx);
tint_symbol_18(sb, ((800u * idx) + 168u), float2x2((0.0f).xx, (0.0f).xx));
tint_symbol_19(sb, ((800u * idx) + 192u), float2x3((0.0f).xxx, (0.0f).xxx));
tint_symbol_20(sb, ((800u * idx) + 224u), float2x4((0.0f).xxxx, (0.0f).xxxx));
tint_symbol_21(sb, ((800u * idx) + 256u), float3x2((0.0f).xx, (0.0f).xx, (0.0f).xx));
tint_symbol_22(sb, ((800u * idx) + 288u), float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
tint_symbol_23(sb, ((800u * idx) + 336u), float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
tint_symbol_24(sb, ((800u * idx) + 384u), float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
tint_symbol_25(sb, ((800u * idx) + 416u), float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
tint_symbol_26(sb, ((800u * idx) + 480u), float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
tint_symbol_27(sb, ((800u * idx) + 544u), matrix<float16_t, 2, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
tint_symbol_28(sb, ((800u * idx) + 552u), matrix<float16_t, 2, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
tint_symbol_29(sb, ((800u * idx) + 568u), matrix<float16_t, 2, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
tint_symbol_30(sb, ((800u * idx) + 584u), matrix<float16_t, 3, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
tint_symbol_31(sb, ((800u * idx) + 600u), matrix<float16_t, 3, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
tint_symbol_32(sb, ((800u * idx) + 624u), matrix<float16_t, 3, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
tint_symbol_33(sb, ((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));
tint_symbol_34(sb, ((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));
tint_symbol_35(sb, ((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_38[2] = (float3[2])0;
tint_symbol_36(sb, ((800u * idx) + 736u), tint_symbol_38);
const matrix<float16_t, 4, 2> tint_symbol_39[2] = (matrix<float16_t, 4, 2>[2])0;
tint_symbol_37(sb, ((800u * idx) + 768u), tint_symbol_39);
sb_store_16(((800u * idx) + 168u), float2x2((0.0f).xx, (0.0f).xx));
sb_store_17(((800u * idx) + 192u), float2x3((0.0f).xxx, (0.0f).xxx));
sb_store_18(((800u * idx) + 224u), float2x4((0.0f).xxxx, (0.0f).xxxx));
sb_store_19(((800u * idx) + 256u), float3x2((0.0f).xx, (0.0f).xx, (0.0f).xx));
sb_store_20(((800u * idx) + 288u), float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
sb_store_21(((800u * idx) + 336u), float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
sb_store_22(((800u * idx) + 384u), float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
sb_store_23(((800u * idx) + 416u), float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
sb_store_24(((800u * idx) + 480u), float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
sb_store_25(((800u * idx) + 544u), matrix<float16_t, 2, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
sb_store_26(((800u * idx) + 552u), matrix<float16_t, 2, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
sb_store_27(((800u * idx) + 568u), matrix<float16_t, 2, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
sb_store_28(((800u * idx) + 584u), matrix<float16_t, 3, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
sb_store_29(((800u * idx) + 600u), matrix<float16_t, 3, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
sb_store_30(((800u * idx) + 624u), matrix<float16_t, 3, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
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;
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;
sb_store_35(((800u * idx) + 768u), tint_symbol_3);
}
[numthreads(1, 1, 1)]
@@ -178,7 +178,3 @@ void main(tint_symbol_1 tint_symbol) {
main_inner(tint_symbol.idx);
return;
}
FXC validation failure:
D:\Projects\RampUp\dawn\test\tint\buffer\Shader@0x000002B00914B0D0(61,69-77): error X3000: syntax error: unexpected token 'float16_t'
D:\Projects\RampUp\dawn\test\tint\buffer\Shader@0x000002B00914B0D0(62,3-14): error X3018: invalid subscript 'Store'