| SKIP: FAILED |
| |
| #include <metal_stdlib> |
| using namespace metal; |
| |
| thread half4x3 u = half4x3(half3(1.0h, 2.0h, 3.0h), half3(4.0h, 5.0h, 6.0h), half3(7.0h, 8.0h, 9.0h), half3(10.0h, 11.0h, 12.0h)); |
| void f() { |
| float4x3 v = float4x3(u); |
| } |
| program_source:4:16: error: program scope variable must reside in constant address space |
| thread half4x3 u = half4x3(half3(1.0h, 2.0h, 3.0h), half3(4.0h, 5.0h, 6.0h), half3(7.0h, 8.0h, 9.0h), half3(10.0h, 11.0h, 12.0h)); |
| ^ |
| program_source:6:12: warning: unused variable 'v' [-Wunused-variable] |
| float4x3 v = float4x3(u); |
| ^ |
| |