Lines Matching refs:outerLevels

836 static inline bool isPatchDiscarded (TessPrimitiveType primitiveType, const float* outerLevels)  in isPatchDiscarded()  argument
840 if (outerLevels[i] <= 0.0f) in isPatchDiscarded()
845 …iveType primitiveType, SpacingMode spacingMode, const float* innerLevels, const float* outerLevels) in generateReferenceTessCoords() argument
847 if (isPatchDiscarded(primitiveType, outerLevels)) in generateReferenceTessCoords()
856 getClampedRoundedTriangleTessLevels(spacingMode, innerLevels, outerLevels, &inner, &outer[0]); in generateReferenceTessCoords()
863 DE_ASSERT(de::abs(outerLevels[i] - (float)outer[i]) < 0.001f); in generateReferenceTessCoords()
874 getClampedRoundedQuadTessLevels(spacingMode, innerLevels, outerLevels, &inner[0], &outer[0]); in generateReferenceTessCoords()
882 DE_ASSERT(de::abs(outerLevels[i] - (float)outer[i]) < 0.001f); in generateReferenceTessCoords()
893 getClampedRoundedIsolineTessLevels(spacingMode, &outerLevels[0], &outer[0]); in generateReferenceTessCoords()
898 DE_ASSERT(de::abs(outerLevels[1] - (float)outer[1]) < 0.001f); in generateReferenceTessCoords()
910 …iveType primitiveType, SpacingMode spacingMode, const float* innerLevels, const float* outerLevels) in referencePointModePrimitiveCount() argument
912 if (isPatchDiscarded(primitiveType, outerLevels)) in referencePointModePrimitiveCount()
921 getClampedRoundedTriangleTessLevels(spacingMode, innerLevels, outerLevels, &inner, &outer[0]); in referencePointModePrimitiveCount()
929 getClampedRoundedQuadTessLevels(spacingMode, innerLevels, outerLevels, &inner[0], &outer[0]); in referencePointModePrimitiveCount()
936 getClampedRoundedIsolineTessLevels(spacingMode, &outerLevels[0], &outer[0]); in referencePointModePrimitiveCount()
946 …iveType primitiveType, SpacingMode spacingMode, const float* innerLevels, const float* outerLevels) in referenceNonPointModePrimitiveCount() argument
948 if (isPatchDiscarded(primitiveType, outerLevels)) in referenceNonPointModePrimitiveCount()
957 getClampedRoundedTriangleTessLevels(spacingMode, innerLevels, outerLevels, &inner, &outer[0]); in referenceNonPointModePrimitiveCount()
965 getClampedRoundedQuadTessLevels(spacingMode, innerLevels, outerLevels, &inner[0], &outer[0]); in referenceNonPointModePrimitiveCount()
972 getClampedRoundedIsolineTessLevels(spacingMode, &outerLevels[0], &outer[0]); in referenceNonPointModePrimitiveCount()
982 …pe, SpacingMode spacingMode, bool usePointMode, const float* innerLevels, const float* outerLevels) in referencePrimitiveCount() argument
984 …ointMode ? referencePointModePrimitiveCount (primitiveType, spacingMode, innerLevels, outerLevels) in referencePrimitiveCount()
985 : referenceNonPointModePrimitiveCount (primitiveType, spacingMode, innerLevels, outerLevels); in referencePrimitiveCount()
988 …pe, SpacingMode spacingMode, bool usePointMode, const float* innerLevels, const float* outerLevels) in referenceVertexCount() argument
990 return referencePrimitiveCount(primitiveType, spacingMode, usePointMode, innerLevels, outerLevels) in referenceVertexCount()
2041 const float* const outerLevels = &tessLevelCases[tessLevelCaseNdx].outer[0]; in iterate() local
2043 …ge << "Tessellation levels: " << tessellationLevelsString(innerLevels, outerLevels, m_primitiveTyp… in iterate()
2047 gl.uniform1f(tessLevelOuter0Loc, outerLevels[0]); in iterate()
2048 gl.uniform1f(tessLevelOuter1Loc, outerLevels[1]); in iterate()
2049 gl.uniform1f(tessLevelOuter2Loc, outerLevels[2]); in iterate()
2050 gl.uniform1f(tessLevelOuter3Loc, outerLevels[3]); in iterate()
2367 float outerLevels[4]; in iterate() local
2372 for (int i = 0; i < DE_LENGTH_OF_ARRAY(outerLevels); i++) in iterate()
2373outerLevels[i] = (float)getClampedRoundedTessLevel(m_spacing, tessLevelCases[tessLevelCaseNdx].out… in iterate()
2375 … "Tessellation levels: " << tessellationLevelsString(&innerLevels[0], &outerLevels[0], m_primitive… in iterate()
2379 gl.uniform1f(gl.getUniformLocation(programGL, "u_tessLevelOuter0"), outerLevels[0]); in iterate()
2380 gl.uniform1f(gl.getUniformLocation(programGL, "u_tessLevelOuter1"), outerLevels[1]); in iterate()
2381 gl.uniform1f(gl.getUniformLocation(programGL, "u_tessLevelOuter2"), outerLevels[2]); in iterate()
2382 gl.uniform1f(gl.getUniformLocation(programGL, "u_tessLevelOuter3"), outerLevels[3]); in iterate()
4047 const float* const outerLevels = &patchTessLevels[6*patchNdx + 2]; in iterate() local
4048 …= referenceVertexCount(m_primitiveType, m_spacing, program.usePointMode, innerLevels, outerLevels); in iterate()
4069 …<< ", tessellation levels: " << tessellationLevelsString(innerLevels, outerLevels) << TestLog::End… in iterate()
4087 << tessellationLevelsString(innerLevels, outerLevels) << TestLog::EndMessage; in iterate()