blob: 3efab94a50c70006fa0ee7f841f51165751b7601 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
thread uint var_1 = 0u;
thread bool continue_execution = true;
void main_1() {
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;
^