Lines Matching defs:spacing
476 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode=false)
479 + ", " + getSpacingModeShaderName(spacing)
485 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMode spacing, bool usePointMode=false)
488 + ", " + getSpacingModeShaderName(spacing)
862 // \note For fractional spacing modes, exact results are implementation-defined except in special cases.
880 // \note For fractional spacing modes, exact results are implementation-defined except in special cases.
899 // \note For fractional spacing modes, exact results are implementation-defined except in special cases.
1208 * \brief Verify fractional spacing conditions for a single line
1211 * with outer levels { 1.0, tessLevel }) with a given fractional spacing
1374 * \brief Verify fractional spacing conditions between multiple lines
1376 * Verify the fractional spacing conditions that are not checked in
1378 * as parameters, in addition to the spacing mode and tessellation level.
1592 CommonEdgeCase (Context& context, const char* name, const char* description, TessPrimitiveType primitiveType, SpacingMode spacing, CaseType caseType)
1595 , m_spacing (spacing)
1903 TessCoordCase (Context& context, const char* name, const char* description, TessPrimitiveType primitiveType, SpacingMode spacing)
1906 , m_spacing (spacing)
2150 // Check validity of fractional spacing modes. Draws a single isoline, reads tesscoords with transform feedback.
2154 FractionalSpacingModeCase (Context& context, const char* name, const char* description, SpacingMode spacing)
2156 , m_spacing (spacing)
2327 SpacingMode spacing,
2331 , m_spacing (spacing)
2512 BasicTriangleFillCoverCase (Context& context, const char* name, const char* description, TessPrimitiveType primitiveType, SpacingMode spacing, const char* referenceImagePathPrefix)
2513 : BasicVariousTessLevelsPosAttrCase (context, name, description, primitiveType, spacing, referenceImagePathPrefix)
2525 const glu::ProgramSources makeSources (TessPrimitiveType primitiveType, SpacingMode spacing, const char* vtxOutPosAttrName) const
2545 + getTessellationEvaluationInLayoutString(primitiveType, spacing) +
2599 BasicTriangleFillNonOverlapCase (Context& context, const char* name, const char* description, TessPrimitiveType primitiveType, SpacingMode spacing, const char* referenceImagePathPrefix)
2600 : BasicVariousTessLevelsPosAttrCase (context, name, description, primitiveType, spacing, referenceImagePathPrefix)
2606 const glu::ProgramSources makeSources (TessPrimitiveType primitiveType, SpacingMode spacing, const char* vtxOutPosAttrName) const
2624 + getTessellationEvaluationInLayoutString(primitiveType, spacing) +
2688 IsolinesRenderCase (Context& context, const char* name, const char* description, SpacingMode spacing, const char* referenceImagePathPrefix)
2689 : BasicVariousTessLevelsPosAttrCase (context, name, description, TESSPRIMITIVETYPE_ISOLINES, spacing, referenceImagePathPrefix)
2694 const glu::ProgramSources makeSources (TessPrimitiveType primitiveType, SpacingMode spacing, const char* vtxOutPosAttrName) const
2715 + getTessellationEvaluationInLayoutString(TESSPRIMITIVETYPE_ISOLINES, spacing) +
3601 PrimitiveSetInvarianceCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, bool usePointMode, WindingUsage windingUsage)
3604 , m_spacing (spacing)
3915 * the tessellation levels, tessellation mode, spacing mode, winding, and
3921 InvariantPrimitiveSetCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode)
3922 : PrimitiveSetInvarianceCase(context, name, description, primType, spacing, usePointMode, winding == WINDING_CCW ? WINDINGUSAGE_CCW
3948 * only depends on that edge's tessellation level, and spacing.
3960 InvariantOuterEdgeCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing)
3963 , m_spacing (spacing)
4256 SymmetricOuterEdgeCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode)
4259 , m_spacing (spacing)
4545 OuterEdgeVertexSetIndexIndependenceCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode)
4548 , m_spacing (spacing)
4788 * tessellation levels, tessellation mode and spacing mode. Specifically,
4796 InvariantTriangleSetCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing)
4797 : PrimitiveSetInvarianceCase(context, name, description, primType, spacing, false, WINDINGUSAGE_VARY)
4813 * the inner tessellation levels, tessellation mode and spacing mode.
4818 InvariantInnerTriangleSetCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing)
4819 : PrimitiveSetInvarianceCase(context, name, description, primType, spacing, false, WINDINGUSAGE_VARY)
4897 * tessellation mode, spacing mode and the inner and outer tessellation
4904 InvariantOuterTriangleSetCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing)
4905 : PrimitiveSetInvarianceCase(context, name, description, primType, spacing, false, WINDINGUSAGE_VARY)
5045 TessCoordComponentInvarianceCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode)
5048 , m_spacing (spacing)
5237 TessCoordComponentRangeCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode)
5238 : TessCoordComponentInvarianceCase(context, name, description, primType, spacing, winding, usePointMode)
5268 OneMinusTessCoordComponentCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode)
5269 : TessCoordComponentInvarianceCase(context, name, description, primType, spacing, winding, usePointMode)
5306 PrimitiveDiscardCase (Context& context, const char* name, const char* description, TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode)
5309 , m_spacing (spacing)
6962 glw::GLenum spacing;
6965 { "Default spacing", "layout(triangles) in", GL_EQUAL },
6966 { "Equal spacing", "layout(triangles, equal_spacing) in", GL_EQUAL },
6967 { "Fractional even spacing", "layout(triangles, fractional_even_spacing) in", GL_FRACTIONAL_EVEN },
6968 { "Fractional odd spacing", "layout(triangles, fractional_odd_spacing) in", GL_FRACTIONAL_ODD },
6988 verifyStateProgramInteger(result, gl, program.getProgram(), GL_TESS_GEN_SPACING, s_modes[ndx].spacing, QUERY_PROGRAM_INTEGER);
7603 const SpacingMode spacing = (SpacingMode)spacingI;
7605 + "_" + getSpacingModeShaderName(spacing)
7610 commonEdgeGroup->addChild(new CommonEdgeCase(m_context, caseName.c_str(), "", primitiveType, spacing, caseType));
7617 TestCaseGroup* const fractionalSpacingModeGroup = new TestCaseGroup(m_context, "fractional_spacing", "Test fractional spacing modes");
7637 const SpacingMode spacing = (SpacingMode)spacingI;
7642 + "_" + getSpacingModeShaderName(spacing)
7645 primitiveType, spacing, winding, usePointMode));
7684 const SpacingMode spacing = (SpacingMode)spacingI;
7685 const string primSpacName = primName + "_" + getSpacingModeShaderName(spacing);
7689 invariantOuterEdgeGroup->addChild (new InvariantOuterEdgeCase (m_context, primSpacName.c_str(), "", primitiveType, spacing));
7690 invariantTriangleSetGroup->addChild (new InvariantTriangleSetCase (m_context, primSpacName.c_str(), "", primitiveType, spacing));
7691 invariantInnerTriangleSetGroup->addChild(new InvariantInnerTriangleSetCase (m_context, primSpacName.c_str(), "", primitiveType, spacing));
7692 invariantOuterTriangleSetGroup->addChild(new InvariantOuterTriangleSetCase (m_context, primSpacName.c_str(), "", primitiveType, spacing));
7705 invariantPrimitiveSetGroup->addChild (new InvariantPrimitiveSetCase (m_context, primSpacWindPointName.c_str(), "", primitiveType, spacing, winding, usePointMode));
7706 symmetricOuterEdgeGroup->addChild (new SymmetricOuterEdgeCase (m_context, primSpacWindPointName.c_str(), "", primitiveType, spacing, winding, usePointMode));
7707 tessCoordComponentRangeGroup->addChild (new TessCoordComponentRangeCase (m_context, primSpacWindPointName.c_str(), "", primitiveType, spacing, winding, usePointMode));
7708 oneMinusTessCoordComponentGroup->addChild (new OneMinusTessCoordComponentCase (m_context, primSpacWindPointName.c_str(), "", primitiveType, spacing, winding, usePointMode));
7712 primitiveType, spacing, winding, usePointMode));