Home | History | Annotate | Download | only in internal

Lines Matching refs:ref

55 const tcu::UVec4 calculateDiscreteFloatDistance (const tcu::Vec4& ref, const tcu::Vec4& res)
57 return tcu::UVec4(calculateDiscreteFloatDistance(ref[0], res[0]), calculateDiscreteFloatDistance(ref[1], res[1]), calculateDiscreteFloatDistance(ref[2], res[2]), calculateDiscreteFloatDistance(ref[3], res[3]));
77 const tcu::Vec4 ref (tcu::sRGBToLinear(src.cast<float>() / tcu::Vec4(255.0f)));
78 const tcu::Vec4 diff (res - ref);
79 const tcu::UVec4 discreteFloatDiff (calculateDiscreteFloatDistance(ref, res));
81 if (tcu::anyNotEqual(res, ref))
82 log << tcu::TestLog::Message << i << ", Res: " << res << ", Ref: " << ref << ", Diff: " << diff << ", Discrete float diff: " << discreteFloatDiff << tcu::TestLog::EndMessage;