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