blob: 8e33e6dd582623dd7c7974b4c54008e7a93a44ad [file] [log] [blame]
SKIP: FAILED
[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:
c:\src\dawn\Shader@0x000001F522290EF0(4,3-11): error X3000: unrecognized identifier 'float16_t'
c:\src\dawn\Shader@0x000001F522290EF0(4,13): error X3000: unrecognized identifier 'a'