| SKIP: INVALID | |
| [numthreads(1, 1, 1)] | |
| void unused_entry_point() { | |
| return; | |
| } | |
| struct S { | |
| vector<float16_t, 3> v; | |
| }; | |
| static S P = (S)0; | |
| void f() { | |
| P.v = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)); | |
| P.v.x = float16_t(1.0h); | |
| P.v.y = float16_t(2.0h); | |
| P.v.z = float16_t(3.0h); | |
| } | |
| FXC validation failure: | |
| <scrubbed_path>(7,10-18): error X3000: syntax error: unexpected token 'float16_t' | |
| tint executable returned error: exit status 1 |