Home | History | Annotate | Download | only in functional

Lines Matching refs:outer1

659 static vector<Vec3> generateReferenceTriangleTessCoords (SpacingMode spacingMode, int inner, int outer0, int outer1, int outer2)
665 if (outer0 == 1 && outer1 == 1 && outer2 == 1)
674 outer0, outer1, outer2);
679 for (int i = 0; i < outer1; i++) { const float v = (float)i / (float)outer1; tessCoords.push_back(Vec3(1.0f - v, 0.0f, v)); }
713 static int referenceTriangleNonPointModePrimitiveCount (SpacingMode spacingMode, int inner, int outer0, int outer1, int outer2)
717 if (outer0 == 1 && outer1 == 1 && outer2 == 1)
721 outer0, outer1, outer2);
725 int result = outer0 + outer1 + outer2;
743 static vector<Vec3> generateReferenceQuadTessCoords (SpacingMode spacingMode, int inner0, int inner1, int outer0, int outer1, int outer2, int outer3)
749 if (inner0 == 1 && inner1 == 1 && outer0 == 1 && outer1 == 1 && outer2 == 1 && outer3 == 1)
760 outer0, outer1, outer2, outer3);
765 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)); }
779 static int referenceQuadNonPointModePrimitiveCount (SpacingMode spacingMode, int inner0, int inner1, int outer0, int outer1, int outer2, int outer3)
785 if (inner0 == 1 && inner1 == 1 && outer0 == 1 && outer1 == 1 && outer2 == 1 && outer3 == 1)
790 outer0, outer1, outer2, outer3);
793 return 2*(inner0-2)*(inner1-2) + 2*(inner0-2) + 2*(inner1-2) + outer0+outer1+outer2+outer3;
797 static vector<Vec3> generateReferenceIsolineTessCoords (int outer0, int outer1)
802 for (int x = 0; x < outer1+1; x++)
803 tessCoords.push_back(Vec3((float)x / (float)outer1,
810 static int referenceIsolineNonPointModePrimitiveCount (int outer0, int outer1)
812 return outer0*outer1;
4035 << " patches in one draw call; tessellation levels for each patch are (in order [inner0, inner1, outer0, outer1, outer2, outer3]):\n"
4309 << TestLog::Message << "Note: rendered 1 patch, tessellation levels are (in order [inner0, inner1, outer0, outer1, outer2, outer3]):\n"
4568 << TestLog::Message << "Note: rendered 1 patch, tessellation levels are (in order [inner0, inner1, outer0, outer1, outer2, outer3]):\n"