blob: 8b257a0551172d326afd5759fdcceafd8c1c6ae7 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
struct main_out {
float4 x_2_1 [[position]];
};
thread float4 x_2 = 0.0f;
thread float x_900 = 0.0f;
void main_1() {
x_900 = 1.0f;
}
vertex main_out tint_symbol() {
main_1();
return {.x_2_1=x_2};
}
program_source:7:15: error: program scope variable must reside in constant address space
thread float4 x_2 = 0.0f;
^
program_source:8:14: error: program scope variable must reside in constant address space
thread float x_900 = 0.0f;
^