SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
thread bool x_1 = false; | |
thread int x_2 = 0; | |
thread uint x_3 = 0u; | |
thread float x_4 = 0.0f; | |
void main_1() { | |
} | |
fragment void tint_symbol() { | |
main_1(); | |
} | |
program_source:4:13: error: program scope variable must reside in constant address space | |
thread bool x_1 = false; | |
^ | |
program_source:5:12: error: program scope variable must reside in constant address space | |
thread int x_2 = 0; | |
^ | |
program_source:6:13: error: program scope variable must reside in constant address space | |
thread uint x_3 = 0u; | |
^ | |
program_source:7:14: error: program scope variable must reside in constant address space | |
thread float x_4 = 0.0f; | |
^ | |