• Home
  • Raw
  • Download

Lines Matching refs:caseDef

217 void initPrograms (vk::SourceCollections& programCollection, const CaseDefinition caseDef)  in initPrograms()  argument
241 << "layout(vertices = " << caseDef.outPatchSize << ") out;\n" in initPrograms()
248 …e_attr[gl_InvocationID] = in_tc_attr[gl_InvocationID*" << caseDef.inPatchSize << "/" << caseDef.ou… in initPrograms()
276 …<< " highp float y = gl_TessCoord.y - in_te_attr[int(round(gl_TessCoord.x*float(" << caseDef.ou… in initPrograms()
301 tcu::TestStatus test (Context& context, const CaseDefinition caseDef) in test() argument
305 vertexData.reserve(caseDef.inPatchSize); in test()
306 for (int i = 0; i < caseDef.inPatchSize; ++i) in test()
308 const float f = static_cast<float>(i) / static_cast<float>(caseDef.inPatchSize - 1); in test()
315 …tcu::ImageIO::loadPNG(referenceImage, context.getTestContext().getArchive(), caseDef.referenceImag… in test()
319 return runTest(context, numPrimitives, caseDef.inPatchSize, caseDef.outPatchSize, in test()
362 void initPrograms (vk::SourceCollections& programCollection, const CaseDefinition caseDef) in initPrograms() argument
391 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? "layout(location = 1) patch out mediump int… in initPrograms()
392caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TCS ? "layout(location = 1) patch out mediump int i… in initPrograms()
397 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? " in_te_primitiveIDFromTCS = gl_Primitiv… in initPrograms()
398caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TCS ? " in_te_patchVerticesInFromTCS = gl_PatchV… in initPrograms()
414 const float xScale = 1.0f / static_cast<float>(getNumPrimitives(caseDef.caseType)); in initPrograms()
425 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? "layout(location = 1) patch in mediump int … in initPrograms()
426caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TCS ? "layout(location = 1) patch in mediump int in… in initPrograms()
433 …<< (caseDef.caseType == CASETYPE_PRIMITIVE_ID_TCS ? " bool ok = in_te_primitiveIDFromTCS == 3;… in initPrograms()
434 caseDef.caseType == CASETYPE_PRIMITIVE_ID_TES ? " bool ok = gl_PrimitiveID == 3;\n" : in initPrograms()
435caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TCS ? " bool ok = in_te_patchVerticesInFromTCS =… in initPrograms()
436caseDef.caseType == CASETYPE_PATCH_VERTICES_IN_TES ? " bool ok = gl_PatchVerticesIn == " + de::… in initPrograms()
437caseDef.caseType == CASETYPE_TESS_LEVEL_INNER0_TES ? " bool ok = abs(gl_TessLevelInner[0] - 9.0… in initPrograms()
438caseDef.caseType == CASETYPE_TESS_LEVEL_INNER1_TES ? " bool ok = abs(gl_TessLevelInner[1] - 8.0… in initPrograms()
439caseDef.caseType == CASETYPE_TESS_LEVEL_OUTER0_TES ? " bool ok = abs(gl_TessLevelOuter[0] - 7.0… in initPrograms()
440caseDef.caseType == CASETYPE_TESS_LEVEL_OUTER1_TES ? " bool ok = abs(gl_TessLevelOuter[1] - 6.0… in initPrograms()
441caseDef.caseType == CASETYPE_TESS_LEVEL_OUTER2_TES ? " bool ok = abs(gl_TessLevelOuter[2] - 5.0… in initPrograms()
442caseDef.caseType == CASETYPE_TESS_LEVEL_OUTER3_TES ? " bool ok = abs(gl_TessLevelOuter[3] - 4.0… in initPrograms()
481 tcu::TestStatus test (Context& context, const CaseDefinition caseDef) in test() argument
483 DE_ASSERT(!caseDef.usesReferenceImageFromFile || !caseDef.referenceImagePath.empty()); in test()
486 const int numPrimitives = getNumPrimitives(caseDef.caseType); in test()
494 if (caseDef.usesReferenceImageFromFile) in test()
495 …tcu::ImageIO::loadPNG(referenceImage, context.getTestContext().getArchive(), caseDef.referenceImag… in test()
806 const PatchVertexCount::CaseDefinition caseDef = in createShaderInputOutputTests() local
812 PatchVertexCount::initPrograms, PatchVertexCount::test, caseDef); in createShaderInputOutputTests()