blob: 43b5eae14dc5b572c49fa71f668f66feb1df57a8 [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 2> subgroupAdd_cae1ed() {
vector<float16_t, 2> res = WaveActiveSum((float16_t(1.0h)).xx);
return res;
}
void fragment_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupAdd_cae1ed());
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupAdd_cae1ed());
return;
}
FXC validation failure:
<scrubbed_path>(3,8-16): error X3000: syntax error: unexpected token 'float16_t'
tint executable returned error: exit status 1