• Home
  • Raw
  • Download

Lines Matching refs:expectedDepth

1112 				float expectedDepth = clearValue;  in verifyTestResult()  local
1120 expectedDepth = 2 * (vertex->position.z() / vertex->position.w()) - 1.0f; in verifyTestResult()
1122 expectedDepth *= m_param.viewportMaxDepth; in verifyTestResult()
1127 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1129expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
1131 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1134 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()
1143 …float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth… in verifyTestResult() local
1147 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1149expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
1151 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1154 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()
1380 …float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth… in verifyTestResult() local
1397 expectedDepth = in verifyTestResult()
1398 …(compareDepthResult(m_param.depthCompareOp, expectedDepth, depthBufferValue) && depthBufferValue <… in verifyTestResult()
1399 ? expectedDepth : depthBufferValue; in verifyTestResult()
1403 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1405 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1408 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()