blob: 1c8af3fe865df6caa9ec03e45cac85fe21bc2fba [file] [log] [blame]
SKIP: INVALID
[numthreads(1, 1, 1)]
void f() {
float16_t a = float16_t(1.0h);
float16_t b = float16_t(2.0h);
float16_t v = (a / b);
float16_t v_1 = floor(v);
float16_t r = ((a - (((v < float16_t(0.0h))) ? (ceil(v)) : (v_1))) * b);
}
FXC validation failure:
<scrubbed_path>(4,3-11): error X3000: unrecognized identifier 'float16_t'
<scrubbed_path>(4,13): error X3000: unrecognized identifier 'a'
tint executable returned error: exit status 1