SKIP: INVALID


RWByteAddressBuffer prevent_dce : register(u0);
float16_t subgroupInclusiveAdd_dde86f() {
  float16_t res = (WavePrefixSum(float16_t(1.0h)) + float16_t(1.0h));
  return res;
}

void fragment_main() {
  prevent_dce.Store<float16_t>(0u, subgroupInclusiveAdd_dde86f());
}

[numthreads(1, 1, 1)]
void compute_main() {
  prevent_dce.Store<float16_t>(0u, subgroupInclusiveAdd_dde86f());
}

FXC validation failure:
<scrubbed_path>(3,1-9): error X3000: unrecognized identifier 'float16_t'


tint executable returned error: exit status 1
