Remove ToScaledDepthFromIntegerScale

This commit is contained in:
Henrik Rydgård 2023-02-11 11:45:27 +01:00
parent 805591e493
commit d40aa17198
3 changed files with 1 additions and 21 deletions

View file

@ -830,7 +830,6 @@ static bool TestDepthMath() {
float encoded = factors.EncodeFromU16(testValue);
float decodedU16 = factors.DecodeToU16(encoded);
EXPECT_REL_EQ_FLOAT(decodedU16, testValue, 0.0001f);
EXPECT_REL_EQ_FLOAT(encoded, ToScaledDepthFromIntegerScale(useFlags, testValue), 0.000001f);
}
}