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