Lines Matching refs:expectedDepth
1038 float expectedDepth = clearValue; in verifyTestResult() local
1046 expectedDepth = 2 * (vertex->position.z() / vertex->position.w()) - 1.0f; in verifyTestResult()
1048 expectedDepth *= m_param.viewportMaxDepth; in verifyTestResult()
1053 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1055 …expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
1057 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1060 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()
1069 …float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth… in verifyTestResult() local
1073 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1075 …expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
1077 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1080 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()
1317 …float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth… in verifyTestResult() local
1334 expectedDepth = in verifyTestResult()
1335 …(compareDepthResult(m_param.depthCompareOp, expectedDepth, depthBufferValue) && depthBufferValue <… in verifyTestResult()
1336 ? expectedDepth : depthBufferValue; in verifyTestResult()
1340 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1342 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1345 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()