blob: 703ae2099c5d0d5a8ebf4dd894541f7b706d1733 [file] [log] [blame]
dan sinclair999d93a2024-08-15 20:42:57 +00001SKIP: INVALID
Antonio Maiorano780c4092024-08-14 19:51:48 +00002
3
4RWByteAddressBuffer prevent_dce : register(u0);
5vector<float16_t, 2> subgroupMax_a3afe3() {
6 vector<float16_t, 2> res = WaveActiveMax((float16_t(1.0h)).xx);
7 return res;
8}
9
10void fragment_main() {
11 prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupMax_a3afe3());
12}
13
14[numthreads(1, 1, 1)]
15void compute_main() {
16 prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupMax_a3afe3());
17}
18
19FXC validation failure:
Antonio Maiorano4f97c0e2024-08-22 05:42:29 +000020<scrubbed_path>(3,8-16): error X3000: syntax error: unexpected token 'float16_t'
Antonio Maiorano780c4092024-08-14 19:51:48 +000021
Antonio Maioranoaef59572024-08-23 21:30:37 +000022
23tint executable returned error: exit status 1