SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
struct main_out { | |
float x_1_1 [[depth(any)]]; | |
}; | |
thread float x_1 = 0.0f; | |
void main_1() { | |
} | |
fragment main_out tint_symbol() { | |
main_1(); | |
return {.x_1_1=x_1}; | |
} | |
program_source:7:14: error: program scope variable must reside in constant address space | |
thread float x_1 = 0.0f; | |
^ | |