SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
struct S { | |
float field0; | |
float age; | |
}; | |
thread S myvar = {}; | |
void main_1() { | |
myvar.age = 42.0f; | |
} | |
fragment void tint_symbol() { | |
main_1(); | |
} | |
program_source:8:10: error: program scope variable must reside in constant address space | |
thread S myvar = {}; | |
^ | |