mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 14:08:04 +00:00
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:
committed by
Dawn LUCI CQ
parent
f0e578f8bd
commit
b990d393f5
@@ -8,111 +8,111 @@ struct Inner {
|
||||
|
||||
ByteAddressBuffer sb : register(t0, space0);
|
||||
|
||||
float2x2 tint_symbol_16(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_17(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_18(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_19(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_20(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_21(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_22(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_23(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_24(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_25(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_26(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_27(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_28(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_29(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_30(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_31(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_32(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_33(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_34_ret[2];
|
||||
tint_symbol_34_ret tint_symbol_34(ByteAddressBuffer buffer, uint offset) {
|
||||
typedef float3 sb_load_34_ret[2];
|
||||
sb_load_34_ret sb_load_34(uint offset) {
|
||||
float3 arr[2] = (float3[2])0;
|
||||
{
|
||||
for(uint i = 0u; (i < 2u); i = (i + 1u)) {
|
||||
arr[i] = asfloat(buffer.Load3((offset + (i * 16u))));
|
||||
arr[i] = asfloat(sb.Load3((offset + (i * 16u))));
|
||||
}
|
||||
}
|
||||
return arr;
|
||||
}
|
||||
|
||||
typedef matrix<float16_t, 4, 2> tint_symbol_35_ret[2];
|
||||
tint_symbol_35_ret tint_symbol_35(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_1[2] = (matrix<float16_t, 4, 2>[2])0;
|
||||
{
|
||||
for(uint i_1 = 0u; (i_1 < 2u); i_1 = (i_1 + 1u)) {
|
||||
arr_1[i_1] = tint_symbol_31(buffer, (offset + (i_1 * 16u)));
|
||||
arr_1[i_1] = sb_load_31((offset + (i_1 * 16u)));
|
||||
}
|
||||
}
|
||||
return arr_1;
|
||||
}
|
||||
|
||||
Inner tint_symbol_36(ByteAddressBuffer buffer, uint offset) {
|
||||
const Inner tint_symbol_38 = {asint(buffer.Load((offset + 0u))), asfloat(buffer.Load((offset + 4u))), buffer.Load<float16_t>((offset + 8u))};
|
||||
return tint_symbol_38;
|
||||
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))};
|
||||
return tint_symbol;
|
||||
}
|
||||
|
||||
typedef Inner tint_symbol_37_ret[4];
|
||||
tint_symbol_37_ret tint_symbol_37(ByteAddressBuffer buffer, uint offset) {
|
||||
typedef Inner sb_load_37_ret[4];
|
||||
sb_load_37_ret sb_load_37(uint offset) {
|
||||
Inner arr_2[4] = (Inner[4])0;
|
||||
{
|
||||
for(uint i_2 = 0u; (i_2 < 4u); i_2 = (i_2 + 1u)) {
|
||||
arr_2[i_2] = tint_symbol_36(buffer, (offset + (i_2 * 12u)));
|
||||
arr_2[i_2] = sb_load_36((offset + (i_2 * 12u)));
|
||||
}
|
||||
}
|
||||
return arr_2;
|
||||
@@ -136,30 +136,27 @@ void main() {
|
||||
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 = tint_symbol_16(sb, 168u);
|
||||
const float2x3 mat2x3_f32 = tint_symbol_17(sb, 192u);
|
||||
const float2x4 mat2x4_f32 = tint_symbol_18(sb, 224u);
|
||||
const float3x2 mat3x2_f32 = tint_symbol_19(sb, 256u);
|
||||
const float3x3 mat3x3_f32 = tint_symbol_20(sb, 288u);
|
||||
const float3x4 mat3x4_f32 = tint_symbol_21(sb, 336u);
|
||||
const float4x2 mat4x2_f32 = tint_symbol_22(sb, 384u);
|
||||
const float4x3 mat4x3_f32 = tint_symbol_23(sb, 416u);
|
||||
const float4x4 mat4x4_f32 = tint_symbol_24(sb, 480u);
|
||||
const matrix<float16_t, 2, 2> mat2x2_f16 = tint_symbol_25(sb, 544u);
|
||||
const matrix<float16_t, 2, 3> mat2x3_f16 = tint_symbol_26(sb, 552u);
|
||||
const matrix<float16_t, 2, 4> mat2x4_f16 = tint_symbol_27(sb, 568u);
|
||||
const matrix<float16_t, 3, 2> mat3x2_f16 = tint_symbol_28(sb, 584u);
|
||||
const matrix<float16_t, 3, 3> mat3x3_f16 = tint_symbol_29(sb, 600u);
|
||||
const matrix<float16_t, 3, 4> mat3x4_f16 = tint_symbol_30(sb, 624u);
|
||||
const matrix<float16_t, 4, 2> mat4x2_f16 = tint_symbol_31(sb, 648u);
|
||||
const matrix<float16_t, 4, 3> mat4x3_f16 = tint_symbol_32(sb, 664u);
|
||||
const matrix<float16_t, 4, 4> mat4x4_f16 = tint_symbol_33(sb, 696u);
|
||||
const float3 arr2_vec3_f32[2] = tint_symbol_34(sb, 736u);
|
||||
const matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = tint_symbol_35(sb, 768u);
|
||||
const Inner struct_inner = tint_symbol_36(sb, 800u);
|
||||
const Inner array_struct_inner[4] = tint_symbol_37(sb, 812u);
|
||||
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);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\buffer\Shader@0x000002348228CC10(4,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -8,143 +8,143 @@ struct Inner {
|
||||
|
||||
RWByteAddressBuffer sb : register(u0, space0);
|
||||
|
||||
void tint_symbol_16(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_17(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_18(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_19(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_20(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_21(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_22(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_23(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_24(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_25(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_26(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_27(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_28(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_29(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_30(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_31(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_32(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_33(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_34(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_35(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_31(buffer, (offset + (i_1 * 16u)), array_1[i_1]);
|
||||
sb_store_31((offset + (i_1 * 16u)), array_2[i_1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void tint_symbol_36(RWByteAddressBuffer buffer, uint offset, Inner value) {
|
||||
buffer.Store((offset + 0u), asuint(value.scalar_i32));
|
||||
buffer.Store((offset + 4u), asuint(value.scalar_f32));
|
||||
buffer.Store<float16_t>((offset + 8u), value.scalar_f16);
|
||||
void sb_store_36(uint offset, Inner value) {
|
||||
sb.Store((offset + 0u), asuint(value.scalar_i32));
|
||||
sb.Store((offset + 4u), asuint(value.scalar_f32));
|
||||
sb.Store<float16_t>((offset + 8u), value.scalar_f16);
|
||||
}
|
||||
|
||||
void tint_symbol_37(RWByteAddressBuffer buffer, uint offset, Inner value[4]) {
|
||||
Inner array_2[4] = value;
|
||||
void sb_store_37(uint offset, Inner value[4]) {
|
||||
Inner array_3[4] = value;
|
||||
{
|
||||
for(uint i_2 = 0u; (i_2 < 4u); i_2 = (i_2 + 1u)) {
|
||||
tint_symbol_36(buffer, (offset + (i_2 * 12u)), array_2[i_2]);
|
||||
sb_store_36((offset + (i_2 * 12u)), array_3[i_2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -167,34 +167,31 @@ void main() {
|
||||
sb.Store4(128u, asuint((0).xxxx));
|
||||
sb.Store4(144u, asuint((0u).xxxx));
|
||||
sb.Store<vector<float16_t, 4> >(160u, (float16_t(0.0h)).xxxx);
|
||||
tint_symbol_16(sb, 168u, float2x2((0.0f).xx, (0.0f).xx));
|
||||
tint_symbol_17(sb, 192u, float2x3((0.0f).xxx, (0.0f).xxx));
|
||||
tint_symbol_18(sb, 224u, float2x4((0.0f).xxxx, (0.0f).xxxx));
|
||||
tint_symbol_19(sb, 256u, float3x2((0.0f).xx, (0.0f).xx, (0.0f).xx));
|
||||
tint_symbol_20(sb, 288u, float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
|
||||
tint_symbol_21(sb, 336u, float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
|
||||
tint_symbol_22(sb, 384u, float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
|
||||
tint_symbol_23(sb, 416u, float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
|
||||
tint_symbol_24(sb, 480u, float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
|
||||
tint_symbol_25(sb, 544u, matrix<float16_t, 2, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
|
||||
tint_symbol_26(sb, 552u, matrix<float16_t, 2, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
|
||||
tint_symbol_27(sb, 568u, matrix<float16_t, 2, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
|
||||
tint_symbol_28(sb, 584u, matrix<float16_t, 3, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
|
||||
tint_symbol_29(sb, 600u, matrix<float16_t, 3, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
|
||||
tint_symbol_30(sb, 624u, matrix<float16_t, 3, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
|
||||
tint_symbol_31(sb, 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_32(sb, 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_33(sb, 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_34(sb, 736u, tint_symbol_38);
|
||||
const matrix<float16_t, 4, 2> tint_symbol_39[2] = (matrix<float16_t, 4, 2>[2])0;
|
||||
tint_symbol_35(sb, 768u, tint_symbol_39);
|
||||
const Inner tint_symbol_40 = (Inner)0;
|
||||
tint_symbol_36(sb, 800u, tint_symbol_40);
|
||||
const Inner tint_symbol_41[4] = (Inner[4])0;
|
||||
tint_symbol_37(sb, 812u, tint_symbol_41);
|
||||
sb_store_16(168u, float2x2((0.0f).xx, (0.0f).xx));
|
||||
sb_store_17(192u, float2x3((0.0f).xxx, (0.0f).xxx));
|
||||
sb_store_18(224u, float2x4((0.0f).xxxx, (0.0f).xxxx));
|
||||
sb_store_19(256u, float3x2((0.0f).xx, (0.0f).xx, (0.0f).xx));
|
||||
sb_store_20(288u, float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
|
||||
sb_store_21(336u, float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
|
||||
sb_store_22(384u, float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
|
||||
sb_store_23(416u, float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
|
||||
sb_store_24(480u, float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
|
||||
sb_store_25(544u, matrix<float16_t, 2, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
|
||||
sb_store_26(552u, matrix<float16_t, 2, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
|
||||
sb_store_27(568u, matrix<float16_t, 2, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
|
||||
sb_store_28(584u, matrix<float16_t, 3, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
|
||||
sb_store_29(600u, matrix<float16_t, 3, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
|
||||
sb_store_30(624u, matrix<float16_t, 3, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
|
||||
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;
|
||||
sb_store_34(736u, tint_symbol);
|
||||
const 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;
|
||||
sb_store_36(800u, tint_symbol_2);
|
||||
const Inner tint_symbol_3[4] = (Inner[4])0;
|
||||
sb_store_37(812u, tint_symbol_3);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\buffer\Shader@0x000002416606A770(4,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user