dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
dan sinclair | b4697b76 | 2023-11-24 09:42:19 +0000 | [diff] [blame] | 3 | <dawn>/src/tint/lang/msl/writer/printer/printer.cc:469 internal compiler error: %b1 = block { # root |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 4 | %arg_1:ptr<handle, texture_2d<i32>, read> = var @binding_point(1, 1) |
| 5 | %arg_2:ptr<handle, sampler, read> = var @binding_point(1, 2) |
| 6 | %prevent_dce:ptr<storage, vec4<i32>, read_write> = var @binding_point(2, 0) |
| 7 | } |
| 8 | |
| 9 | %textureGather_7c3828 = func():void -> %b2 { |
| 10 | %b2 = block { |
| 11 | %arg_3:ptr<function, vec2<f32>, read_write> = var, vec2<f32>(1.0f) |
| 12 | %6:texture_2d<i32> = load %arg_1 |
| 13 | %7:sampler = load %arg_2 |
| 14 | %8:vec2<f32> = load %arg_3 |
| 15 | %9:vec4<i32> = textureGather 1i, %6, %7, %8, vec2<i32>(1i) |
| 16 | %res:ptr<function, vec4<i32>, read_write> = var, %9 |
| 17 | %11:vec4<i32> = load %res |
| 18 | store %prevent_dce, %11 |
| 19 | ret |
| 20 | } |
| 21 | } |
| 22 | %vertex_main = @vertex func():vec4<f32> [@position] -> %b3 { |
| 23 | %b3 = block { |
| 24 | %13:void = call %textureGather_7c3828 |
| 25 | ret vec4<f32>(0.0f) |
| 26 | } |
| 27 | } |
| 28 | %fragment_main = @fragment func():void -> %b4 { |
| 29 | %b4 = block { |
| 30 | %15:void = call %textureGather_7c3828 |
| 31 | ret |
| 32 | } |
| 33 | } |
| 34 | %compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 { |
| 35 | %b5 = block { |
| 36 | %17:void = call %textureGather_7c3828 |
| 37 | ret |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | unhandled variable address space |
| 42 | ******************************************************************** |
| 43 | * The tint shader compiler has encountered an unexpected error. * |
| 44 | * * |
| 45 | * Please help us fix this issue by submitting a bug report at * |
| 46 | * crbug.com/tint with the source program that triggered the bug. * |
| 47 | ******************************************************************** |