| SKIP: FAILED |
| |
| #include <metal_stdlib> |
| using namespace metal; |
| |
| thread uint var_1 = 0u; |
| thread bool continue_execution = true; |
| void main_1() { |
| if (false) { |
| continue_execution = false; |
| } |
| continue_execution = false; |
| } |
| fragment void tint_symbol() { |
| main_1(); |
| if (!(continue_execution)) { |
| discard_fragment(); |
| } |
| } |
| program_source:4:13: error: program scope variable must reside in constant address space |
| thread uint var_1 = 0u; |
| ^ |
| program_source:5:13: error: program scope variable must reside in constant address space |
| thread bool continue_execution = true; |
| ^ |
| |