Home | History | Annotate | Download | only in functional

Lines Matching refs:outer1

654 static vector<Vec3> generateReferenceTriangleTessCoords (SpacingMode spacingMode, int inner, int outer0, int outer1, int outer2)
660 if (outer0 == 1 && outer1 == 1 && outer2 == 1)
669 outer0, outer1, outer2);
674 for (int i = 0; i < outer1; i++) { const float v = (float)i / (float)outer1; tessCoords.push_back(Vec3(1.0f - v, 0.0f, v)); }
708 static int referenceTriangleNonPointModePrimitiveCount (SpacingMode spacingMode, int inner, int outer0, int outer1, int outer2)
712 if (outer0 == 1 && outer1 == 1 && outer2 == 1)
716 outer0, outer1, outer2);
720 int result = outer0 + outer1 + outer2;
738 static vector<Vec3> generateReferenceQuadTessCoords (SpacingMode spacingMode, int inner0, int inner1, int outer0, int outer1, int outer2, int outer3)
744 if (inner0 == 1 && inner1 == 1 && outer0 == 1 && outer1 == 1 && outer2 == 1 && outer3 == 1)
755 outer0, outer1, outer2, outer3);
760 for (int i = 0; i < outer1; i++) { const float v = (float)i / (float)outer1; tessCoords.push_back(Vec3(1.0f-v, 0.0f, 0.0f)); }
774 static int referenceQuadNonPointModePrimitiveCount (SpacingMode spacingMode, int inner0, int inner1, int outer0, int outer1, int outer2, int outer3)
780 if (inner0 == 1 && inner1 == 1 && outer0 == 1 && outer1 == 1 && outer2 == 1 && outer3 == 1)
785 outer0, outer1, outer2, outer3);
788 return 2*(inner0-2)*(inner1-2) + 2*(inner0-2) + 2*(inner1-2) + outer0+outer1+outer2+outer3;
792 static vector<Vec3> generateReferenceIsolineTessCoords (int outer0, int outer1)
797 for (int x = 0; x < outer1+1; x++)
798 tessCoords.push_back(Vec3((float)x / (float)outer1,
805 static int referenceIsolineNonPointModePrimitiveCount (int outer0, int outer1)
807 return outer0*outer1;
4023 << " patches in one draw call; tessellation levels for each patch are (in order [inner0, inner1, outer0, outer1, outer2, outer3]):\n"
4297 << TestLog::Message << "Note: rendered 1 patch, tessellation levels are (in order [inner0, inner1, outer0, outer1, outer2, outer3]):\n"
4556 << TestLog::Message << "Note: rendered 1 patch, tessellation levels are (in order [inner0, inner1, outer0, outer1, outer2, outer3]):\n"