SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
thread uint4 myvar = 0u; | |
void main_1() { | |
myvar[2u] = 42u; | |
} | |
fragment void tint_symbol() { | |
main_1(); | |
} | |
program_source:4:14: error: program scope variable must reside in constant address space | |
thread uint4 myvar = 0u; | |
^ | |