| SKIP: FAILED |
| |
| #include <metal_stdlib> |
| using namespace metal; |
| |
| thread bool x_1 = true; |
| thread bool x_2 = false; |
| thread int x_3 = -1; |
| thread uint x_4 = 1u; |
| thread float x_5 = 1.5f; |
| 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 = true; |
| ^ |
| program_source:5:13: error: program scope variable must reside in constant address space |
| thread bool x_2 = false; |
| ^ |
| program_source:6:12: error: program scope variable must reside in constant address space |
| thread int x_3 = -1; |
| ^ |
| program_source:7:13: error: program scope variable must reside in constant address space |
| thread uint x_4 = 1u; |
| ^ |
| program_source:8:14: error: program scope variable must reside in constant address space |
| thread float x_5 = 1.5f; |
| ^ |
| |