| SKIP: FAILED |
| |
| VertexOutput = struct @align(16) { |
| pos:vec4<f32> @offset(0), @builtin(position) |
| prevent_dce:vec4<i32> @offset(16), @location(0), @interpolate(flat) |
| } |
| |
| $B1: { # root |
| %prevent_dce:ptr<storage, vec4<i32>, read_write> = var undef @binding_point(0, 0) |
| %arg_0:ptr<handle, texel_buffer<rg8sint, read>, read> = var undef @binding_point(1, 0) |
| } |
| |
| %textureLoad_62e034 = func():vec4<i32> { |
| $B2: { |
| %arg_1:ptr<function, i32, read_write> = var 1i |
| %5:texel_buffer<rg8sint, read> = load %arg_0 |
| %6:i32 = load %arg_1 |
| %7:vec4<i32> = textureLoad %5, %6 |
| %res:ptr<function, vec4<i32>, read_write> = var %7 |
| %9:vec4<i32> = load %res |
| ret %9 |
| } |
| } |
| %fragment_main = @fragment func():void { |
| $B3: { |
| %11:vec4<i32> = call %textureLoad_62e034 |
| store %prevent_dce, %11 |
| ret |
| } |
| } |
| %compute_main = @compute @workgroup_size(1i, 1i, 1i) func():void { |
| $B4: { |
| %13:vec4<i32> = call %textureLoad_62e034 |
| store %prevent_dce, %13 |
| ret |
| } |
| } |
| %vertex_main = @vertex func():VertexOutput { |
| $B5: { |
| %out:ptr<function, VertexOutput, read_write> = var undef |
| %16:ptr<function, vec4<f32>, read_write> = access %out, 0u |
| store %16, vec4<f32>(0.0f) |
| %17:ptr<function, vec4<i32>, read_write> = access %out, 1u |
| %18:vec4<i32> = call %textureLoad_62e034 |
| store %17, %18 |
| %19:VertexOutput = load %out |
| ret %19 |
| } |
| } |
| Failed to generate: texel buffers are not supported by the MSL backend |
| VertexOutput = struct @align(16) { |
| pos:vec4<f32> @offset(0), @builtin(position) |
| prevent_dce:vec4<i32> @offset(16), @location(0), @interpolate(flat) |
| } |
| |
| $B1: { # root |
| %prevent_dce:ptr<storage, vec4<i32>, read_write> = var undef @binding_point(0, 0) |
| %arg_0:ptr<handle, texel_buffer<rg8sint, read>, read> = var undef @binding_point(1, 0) |
| } |
| |
| %textureLoad_62e034 = func():vec4<i32> { |
| $B2: { |
| %arg_1:ptr<function, i32, read_write> = var 1i |
| %5:texel_buffer<rg8sint, read> = load %arg_0 |
| %6:i32 = load %arg_1 |
| %7:vec4<i32> = textureLoad %5, %6 |
| %res:ptr<function, vec4<i32>, read_write> = var %7 |
| %9:vec4<i32> = load %res |
| ret %9 |
| } |
| } |
| %fragment_main = @fragment func():void { |
| $B3: { |
| %11:vec4<i32> = call %textureLoad_62e034 |
| store %prevent_dce, %11 |
| ret |
| } |
| } |
| %compute_main = @compute @workgroup_size(1i, 1i, 1i) func():void { |
| $B4: { |
| %13:vec4<i32> = call %textureLoad_62e034 |
| store %prevent_dce, %13 |
| ret |
| } |
| } |
| %vertex_main = @vertex func():VertexOutput { |
| $B5: { |
| %out:ptr<function, VertexOutput, read_write> = var undef |
| %16:ptr<function, vec4<f32>, read_write> = access %out, 0u |
| store %16, vec4<f32>(0.0f) |
| %17:ptr<function, vec4<i32>, read_write> = access %out, 1u |
| %18:vec4<i32> = call %textureLoad_62e034 |
| store %17, %18 |
| %19:VertexOutput = load %out |
| ret %19 |
| } |
| } |
| Failed to generate: texel buffers are not supported by the MSL backend |
| VertexOutput = struct @align(16) { |
| pos:vec4<f32> @offset(0), @builtin(position) |
| prevent_dce:vec4<i32> @offset(16), @location(0), @interpolate(flat) |
| } |
| |
| $B1: { # root |
| %prevent_dce:ptr<storage, vec4<i32>, read_write> = var undef @binding_point(0, 0) |
| %arg_0:ptr<handle, texel_buffer<rg8sint, read>, read> = var undef @binding_point(1, 0) |
| } |
| |
| %textureLoad_62e034 = func():vec4<i32> { |
| $B2: { |
| %arg_1:ptr<function, i32, read_write> = var 1i |
| %5:texel_buffer<rg8sint, read> = load %arg_0 |
| %6:i32 = load %arg_1 |
| %7:vec4<i32> = textureLoad %5, %6 |
| %res:ptr<function, vec4<i32>, read_write> = var %7 |
| %9:vec4<i32> = load %res |
| ret %9 |
| } |
| } |
| %fragment_main = @fragment func():void { |
| $B3: { |
| %11:vec4<i32> = call %textureLoad_62e034 |
| store %prevent_dce, %11 |
| ret |
| } |
| } |
| %compute_main = @compute @workgroup_size(1i, 1i, 1i) func():void { |
| $B4: { |
| %13:vec4<i32> = call %textureLoad_62e034 |
| store %prevent_dce, %13 |
| ret |
| } |
| } |
| %vertex_main = @vertex func():VertexOutput { |
| $B5: { |
| %out:ptr<function, VertexOutput, read_write> = var undef |
| %16:ptr<function, vec4<f32>, read_write> = access %out, 0u |
| store %16, vec4<f32>(0.0f) |
| %17:ptr<function, vec4<i32>, read_write> = access %out, 1u |
| %18:vec4<i32> = call %textureLoad_62e034 |
| store %17, %18 |
| %19:VertexOutput = load %out |
| ret %19 |
| } |
| } |
| Failed to generate: texel buffers are not supported by the MSL backend |
| // |
| // fragment_main |
| // |
| // |
| // compute_main |
| // |
| // |
| // vertex_main |
| // |
| |
| tint executable returned error: exit status 1 |