Skip to content

microsoft/clc: Use float-friendly comparison in float test

Daniel Stone requested to merge test-use-float-compare into msclc-d3d12

We can't expect floats to be exactly equal all the time; use the EXPECT_FLOAT_EQ() test on our int8-to-float test so we're allowing for weird rounding and representations.

Fixes int8-to-float failure with use_hw_d3d.

Signed-off-by: Daniel Stone daniels@collabora.com

Merge request reports