Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spirv_new: fix test_decorate. (#1980)
test_decorate was checking for half-precision NAN incorrectly, calling cl_half_from_float where cl_half_to_float was intended, causing a wrong expected result. test_decorate was also printing the expected and actual results reversed, printing "got -1, want 0", when our implementation already returned 0.
- Loading branch information