blob: be16f056fd46710cabff7c250ed5c692f302be0f [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: Inner = struct @align(4) {
scalar_i32:i32 @offset(0)
scalar_f32:f32 @offset(4)
scalar_f16:f16 @offset(8)
}
S = struct @align(16) {
scalar_f32:f32 @offset(0)
scalar_i32:i32 @offset(4)
scalar_u32:u32 @offset(8)
scalar_f16:f16 @offset(12)
vec2_f32:vec2<f32> @offset(16)
vec2_i32:vec2<i32> @offset(24)
vec2_u32:vec2<u32> @offset(32)
vec2_f16:vec2<f16> @offset(40)
vec3_f32:vec3<f32> @offset(48)
vec3_i32:vec3<i32> @offset(64)
vec3_u32:vec3<u32> @offset(80)
vec3_f16:vec3<f16> @offset(96)
vec4_f32:vec4<f32> @offset(112)
vec4_i32:vec4<i32> @offset(128)
vec4_u32:vec4<u32> @offset(144)
vec4_f16:vec4<f16> @offset(160)
mat2x2_f32:mat2x2<f32> @offset(168)
mat2x3_f32:mat2x3<f32> @offset(192)
mat2x4_f32:mat2x4<f32> @offset(224)
mat3x2_f32:mat3x2<f32> @offset(256)
mat3x3_f32:mat3x3<f32> @offset(288)
mat3x4_f32:mat3x4<f32> @offset(336)
mat4x2_f32:mat4x2<f32> @offset(384)
mat4x3_f32:mat4x3<f32> @offset(416)
mat4x4_f32:mat4x4<f32> @offset(480)
mat2x2_f16:mat2x2<f16> @offset(544)
mat2x3_f16:mat2x3<f16> @offset(552)
mat2x4_f16:mat2x4<f16> @offset(568)
mat3x2_f16:mat3x2<f16> @offset(584)
mat3x3_f16:mat3x3<f16> @offset(600)
mat3x4_f16:mat3x4<f16> @offset(624)
mat4x2_f16:mat4x2<f16> @offset(648)
mat4x3_f16:mat4x3<f16> @offset(664)
mat4x4_f16:mat4x4<f16> @offset(696)
arr2_vec3_f32:array<vec3<f32>, 2> @offset(736)
arr2_mat4x2_f16:array<mat4x2<f16>, 2> @offset(768)
struct_inner:Inner @offset(800)
array_struct_inner:array<Inner, 4> @offset(812)
}
%b1 = block { # root
%sb:ptr<storage, S, read_write> = var @binding_point(0, 0)
}
%tint_symbol = @compute @workgroup_size(1, 1, 1) func():void -> %b2 {
%b2 = block {
%3:ptr<storage, f32, read_write> = access %sb, 0u
store %3, 0.0f
%4:ptr<storage, i32, read_write> = access %sb, 1u
store %4, 0i
%5:ptr<storage, u32, read_write> = access %sb, 2u
store %5, 0u
%6:ptr<storage, f16, read_write> = access %sb, 3u
store %6, 0.0h
%7:ptr<storage, vec2<f32>, read_write> = access %sb, 4u
store %7, vec2<f32>(0.0f)
%8:ptr<storage, vec2<i32>, read_write> = access %sb, 5u
store %8, vec2<i32>(0i)
%9:ptr<storage, vec2<u32>, read_write> = access %sb, 6u
store %9, vec2<u32>(0u)
%10:ptr<storage, vec2<f16>, read_write> = access %sb, 7u
store %10, vec2<f16>(0.0h)
%11:ptr<storage, vec3<f32>, read_write> = access %sb, 8u
store %11, vec3<f32>(0.0f)
%12:ptr<storage, vec3<i32>, read_write> = access %sb, 9u
store %12, vec3<i32>(0i)
%13:ptr<storage, vec3<u32>, read_write> = access %sb, 10u
store %13, vec3<u32>(0u)
%14:ptr<storage, vec3<f16>, read_write> = access %sb, 11u
store %14, vec3<f16>(0.0h)
%15:ptr<storage, vec4<f32>, read_write> = access %sb, 12u
store %15, vec4<f32>(0.0f)
%16:ptr<storage, vec4<i32>, read_write> = access %sb, 13u
store %16, vec4<i32>(0i)
%17:ptr<storage, vec4<u32>, read_write> = access %sb, 14u
store %17, vec4<u32>(0u)
%18:ptr<storage, vec4<f16>, read_write> = access %sb, 15u
store %18, vec4<f16>(0.0h)
%19:ptr<storage, mat2x2<f32>, read_write> = access %sb, 16u
store %19, mat2x2<f32>(vec2<f32>(0.0f))
%20:ptr<storage, mat2x3<f32>, read_write> = access %sb, 17u
store %20, mat2x3<f32>(vec3<f32>(0.0f))
%21:ptr<storage, mat2x4<f32>, read_write> = access %sb, 18u
store %21, mat2x4<f32>(vec4<f32>(0.0f))
%22:ptr<storage, mat3x2<f32>, read_write> = access %sb, 19u
store %22, mat3x2<f32>(vec2<f32>(0.0f))
%23:ptr<storage, mat3x3<f32>, read_write> = access %sb, 20u
store %23, mat3x3<f32>(vec3<f32>(0.0f))
%24:ptr<storage, mat3x4<f32>, read_write> = access %sb, 21u
store %24, mat3x4<f32>(vec4<f32>(0.0f))
%25:ptr<storage, mat4x2<f32>, read_write> = access %sb, 22u
store %25, mat4x2<f32>(vec2<f32>(0.0f))
%26:ptr<storage, mat4x3<f32>, read_write> = access %sb, 23u
store %26, mat4x3<f32>(vec3<f32>(0.0f))
%27:ptr<storage, mat4x4<f32>, read_write> = access %sb, 24u
store %27, mat4x4<f32>(vec4<f32>(0.0f))
%28:ptr<storage, mat2x2<f16>, read_write> = access %sb, 25u
store %28, mat2x2<f16>(vec2<f16>(0.0h))
%29:ptr<storage, mat2x3<f16>, read_write> = access %sb, 26u
store %29, mat2x3<f16>(vec3<f16>(0.0h))
%30:ptr<storage, mat2x4<f16>, read_write> = access %sb, 27u
store %30, mat2x4<f16>(vec4<f16>(0.0h))
%31:ptr<storage, mat3x2<f16>, read_write> = access %sb, 28u
store %31, mat3x2<f16>(vec2<f16>(0.0h))
%32:ptr<storage, mat3x3<f16>, read_write> = access %sb, 29u
store %32, mat3x3<f16>(vec3<f16>(0.0h))
%33:ptr<storage, mat3x4<f16>, read_write> = access %sb, 30u
store %33, mat3x4<f16>(vec4<f16>(0.0h))
%34:ptr<storage, mat4x2<f16>, read_write> = access %sb, 31u
store %34, mat4x2<f16>(vec2<f16>(0.0h))
%35:ptr<storage, mat4x3<f16>, read_write> = access %sb, 32u
store %35, mat4x3<f16>(vec3<f16>(0.0h))
%36:ptr<storage, mat4x4<f16>, read_write> = access %sb, 33u
store %36, mat4x4<f16>(vec4<f16>(0.0h))
%37:ptr<storage, array<vec3<f32>, 2>, read_write> = access %sb, 34u
store %37, array<vec3<f32>, 2>(vec3<f32>(0.0f))
%38:ptr<storage, array<mat4x2<f16>, 2>, read_write> = access %sb, 35u
store %38, array<mat4x2<f16>, 2>(mat4x2<f16>(vec2<f16>(0.0h)))
%39:ptr<storage, Inner, read_write> = access %sb, 36u
store %39, Inner(0i, 0.0f, 0.0h)
%40:ptr<storage, array<Inner, 4>, read_write> = access %sb, 37u
store %40, array<Inner, 4>(Inner(0i, 0.0f, 0.0h))
ret
}
}
unhandled variable address space
********************************************************************
* The tint shader compiler has encountered an unexpected error. *
* *
* Please help us fix this issue by submitting a bug report at *
* crbug.com/tint with the source program that triggered the bug. *
********************************************************************