Lines Matching refs:expectedDepth

1043 				float expectedDepth = clearValue;
1051 expectedDepth = 2 * (vertex->position.z() / vertex->position.w()) - 1.0f;
1053 expectedDepth *= m_param.viewportMaxDepth;
1058 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f);
1060 expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDepth : clearValue;
1062 if (fabs(expectedDepth - depth.x()) > epsilon)
1065 << "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDepth - depth.x()) << tcu::TestLog::EndMessage;
1074 float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth);
1078 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f);
1080 expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDepth : clearValue;
1082 if (fabs(expectedDepth - depth.x()) > epsilon)
1085 << "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDepth - depth.x()) << tcu::TestLog::EndMessage;
1324 float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth);
1341 expectedDepth =
1342 (compareDepthResult(m_param.depthCompareOp, expectedDepth, depthBufferValue) && depthBufferValue <= m_param.maxDepthBounds && depthBufferValue >= m_param.minDepthBounds)
1343 ? expectedDepth : depthBufferValue;
1347 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f);
1349 if (fabs(expectedDepth - depth.x()) > epsilon)
1352 << "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDepth - depth.x()) << tcu::TestLog::EndMessage;