Lines Matching refs:primitiveType

89 std::string generateTessellationEvaluationShader (const TessPrimitiveType primitiveType, const std::string& colorOutputName)
94 << "layout(" << getTessPrimitiveTypeShaderName(primitiveType) << ") in;\n"
103 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES)
108 else if (primitiveType == TESSPRIMITIVETYPE_QUADS || primitiveType == TESSPRIMITIVETYPE_ISOLINES)
129 IdentityGeometryShaderTestCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TessPrimitiveType primitiveType)
131 , m_primitiveType (primitiveType)
218 IdentityTessellationShaderTestCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TessPrimitiveType primitiveType)
220 , m_primitiveType (primitiveType)
229 std::string generateGeometryShader (const TessPrimitiveType primitiveType, const std::string& colorSourceName)
231 const int numEmitVertices = (primitiveType == TESSPRIMITIVETYPE_ISOLINES ? 11 : 8);
236 << "layout(" << getGeometryShaderInputPrimitiveTypeShaderName(primitiveType, false) << ") in;\n"
237 << "layout(" << getGeometryShaderOutputPrimitiveTypeShaderName(primitiveType, false)
246 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES)
261 else if (primitiveType == TESSPRIMITIVETYPE_ISOLINES)
361 VkPrimitiveTopology getPrimitiveTopology (const TessPrimitiveType primitiveType)
363 switch (primitiveType)
402 TessPrimitiveType primitiveType;
408 Params (void) : useTessLevels(), tessLevels(), primitiveType(), inputPatchVertices() {}
501 log << tcu::TestLog::Message << "Tessellation levels: " << getTessellationLevelsString(m_params.tessLevels, m_params.primitiveType) << tcu::TestLog::EndMessage;
510 .setPrimitiveTopology (getPrimitiveTopology(m_params.primitiveType))
632 params.primitiveType = m_primitiveType;
664 params.primitiveType = m_primitiveType;
691 inline TestCase* makeIdentityGeometryShaderCase (tcu::TestContext& testCtx, const TessPrimitiveType primitiveType)
695 "tessellate_" + de::toString(getTessPrimitiveTypeShaderName(primitiveType)) + "_passthrough_geometry_no_change",
697 primitiveType);
700 inline TestCase* makeIdentityTessellationShaderCase (tcu::TestContext& testCtx, const TessPrimitiveType primitiveType)
704 "passthrough_tessellation_geometry_shade_" + de::toString(getTessPrimitiveTypeShaderName(primitiveType)) + "_no_change",
706 primitiveType);