Home
last modified time | relevance | path

Searched refs:tessLevels (Results 1 - 13 of 13) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationUtil.cpp462 std::string getTessellationLevelsString (const TessLevels& tessLevels, const TessPrimitiveType primitiveType) in getTessellationLevelsString() argument
469 << "outer: { " << tessLevels.outer[0] << ", " << tessLevels.outer[1] << " }"; in getTessellationLevelsString()
473 str << "inner: { " << tessLevels.inner[0] << " }, " in getTessellationLevelsString()
474 << "outer: { " << tessLevels.outer[0] << ", " << tessLevels.outer[1] << ", " << tessLevels.outer[2] << " }"; in getTessellationLevelsString()
478 str << "inner: { " << tessLevels.inner[0] << ", " << tessLevels.inner[1] << " }, " in getTessellationLevelsString()
479 << "outer: { " << tessLevels in getTessellationLevelsString()
492 const TessLevels tessLevels = getTessellationLevelsString() local
[all...]
H A DvktTessellationGeometryPassthroughTests.cpp427 TessLevels tessLevels; member
434 Params (void) : useTessLevels(), tessLevels(), primitiveType(), inputPatchVertices() {} in Params()
463 *bufferTessLevels = m_params.tessLevels; in iterate()
529 log << tcu::TestLog::Message << "Tessellation levels: " << getTessellationLevelsString(m_params.tessLevels, m_params.primitiveType) << tcu::TestLog::EndMessage; in iterate()
631 params.tessLevels.inner[0] = level; in createInstance()
632 params.tessLevels.inner[1] = level; in createInstance()
633 params.tessLevels.outer[0] = level; in createInstance()
634 params.tessLevels.outer[1] = level; in createInstance()
635 params.tessLevels.outer[2] = level; in createInstance()
636 params.tessLevels in createInstance()
[all...]
H A DvktTessellationFractionalSpacingTests.cpp276 const std::vector<float>& tessLevels,
281 DE_ASSERT(tessLevels.size() == additionalSegmentLengths.size() && tessLevels.size() == additionalSegmentLocations.size());
285 for (int i = 0; i < static_cast<int>(tessLevels.size()); ++i)
286 lineDatas.push_back(LineData(tessLevels[i], additionalSegmentLengths[i], additionalSegmentLocations[i]));
H A DvktTessellationInvarianceTests.cpp494 std::vector<float> tessLevels(numPatches*NUM_TESS_LEVELS); in generateRandomPatchTessLevels()
498 float* const inner = &tessLevels[patchNdx*NUM_TESS_LEVELS + 0]; in generateRandomPatchTessLevels()
499 float* const outer = &tessLevels[patchNdx*NUM_TESS_LEVELS + 2]; in generateRandomPatchTessLevels()
507 return tessLevels; in generateRandomPatchTessLevels()
1460 const TessLevels& tessLevels = levelCase.levels[subTessLevelCaseNdx]; in iterate() local
1463 data[0] = tessLevels; in iterate()
1464 data[1] = tessLevels; in iterate()
1548 << tcu::TestLog::Message << "Note: tessellation levels for both primitives were: " << getTessellationLevelsString(tessLevels, m_caseDef.primitiveType) << tcu::TestLog::EndMessage; in iterate()
1563 << " - case B: program " << programNdx << ", tessellation levels: " << getTessellationLevelsString(tessLevels, m_caseDef.primitiveType) in iterate()
H A DvktTessellationMiscDrawTests.cpp94 TessLevels& tessLevels = resultTessLevels[tessLevelCaseNdx]; in genTessLevelCases() local
97 tessLevels.inner[i] = static_cast<float>(getClampedRoundedTessLevel(spacingMode, tessLevelCases[tessLevelCaseNdx].inner[i])); in genTessLevelCases()
100 tessLevels.outer[i] = static_cast<float>(getClampedRoundedTessLevel(spacingMode, tessLevelCases[tessLevelCaseNdx].outer[i])); in genTessLevelCases()
H A DvktTessellationUtil.hpp167 std::string getTessellationLevelsString (const TessLevels& tessLevels, const TessPrimitiveType primitiveType);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationUtil.cpp470 std::string getTessellationLevelsString (const TessLevels& tessLevels, const TessPrimitiveType primitiveType) in getTessellationLevelsString() argument
477 << "outer: { " << tessLevels.outer[0] << ", " << tessLevels.outer[1] << " }"; in getTessellationLevelsString()
481 str << "inner: { " << tessLevels.inner[0] << " }, " in getTessellationLevelsString()
482 << "outer: { " << tessLevels.outer[0] << ", " << tessLevels.outer[1] << ", " << tessLevels.outer[2] << " }"; in getTessellationLevelsString()
486 str << "inner: { " << tessLevels.inner[0] << ", " << tessLevels.inner[1] << " }, " in getTessellationLevelsString()
487 << "outer: { " << tessLevels in getTessellationLevelsString()
500 const TessLevels tessLevels = getTessellationLevelsString() local
[all...]
H A DvktTessellationGeometryPassthroughTests.cpp427 TessLevels tessLevels; member
434 Params (void) : useTessLevels(), tessLevels(), primitiveType(), inputPatchVertices() {} in Params()
463 *bufferTessLevels = m_params.tessLevels; in iterate()
529 log << tcu::TestLog::Message << "Tessellation levels: " << getTessellationLevelsString(m_params.tessLevels, m_params.primitiveType) << tcu::TestLog::EndMessage; in iterate()
631 params.tessLevels.inner[0] = level; in createInstance()
632 params.tessLevels.inner[1] = level; in createInstance()
633 params.tessLevels.outer[0] = level; in createInstance()
634 params.tessLevels.outer[1] = level; in createInstance()
635 params.tessLevels.outer[2] = level; in createInstance()
636 params.tessLevels in createInstance()
[all...]
H A DvktTessellationFractionalSpacingTests.cpp276 const std::vector<float>& tessLevels,
281 DE_ASSERT(tessLevels.size() == additionalSegmentLengths.size() && tessLevels.size() == additionalSegmentLocations.size());
285 for (int i = 0; i < static_cast<int>(tessLevels.size()); ++i)
286 lineDatas.push_back(LineData(tessLevels[i], additionalSegmentLengths[i], additionalSegmentLocations[i]));
H A DvktTessellationMiscDrawTests.cpp93 TessLevels& tessLevels = resultTessLevels[tessLevelCaseNdx]; in genTessLevelCases() local
96 tessLevels.inner[i] = static_cast<float>(getClampedRoundedTessLevel(spacingMode, tessLevelCases[tessLevelCaseNdx].inner[i])); in genTessLevelCases()
99 tessLevels.outer[i] = static_cast<float>(getClampedRoundedTessLevel(spacingMode, tessLevelCases[tessLevelCaseNdx].outer[i])); in genTessLevelCases()
H A DvktTessellationInvarianceTests.cpp484 std::vector<float> tessLevels(numPatches*NUM_TESS_LEVELS); in generateRandomPatchTessLevels()
488 float* const inner = &tessLevels[patchNdx*NUM_TESS_LEVELS + 0]; in generateRandomPatchTessLevels()
489 float* const outer = &tessLevels[patchNdx*NUM_TESS_LEVELS + 2]; in generateRandomPatchTessLevels()
497 return tessLevels; in generateRandomPatchTessLevels()
1443 const TessLevels& tessLevels = levelCase.levels[subTessLevelCaseNdx]; in iterate() local
1446 data[0] = tessLevels; in iterate()
1447 data[1] = tessLevels; in iterate()
1531 << tcu::TestLog::Message << "Note: tessellation levels for both primitives were: " << getTessellationLevelsString(tessLevels, m_caseDef.primitiveType) << tcu::TestLog::EndMessage; in iterate()
1546 << " - case B: program " << programNdx << ", tessellation levels: " << getTessellationLevelsString(tessLevels, m_caseDef.primitiveType) in iterate()
H A DvktTessellationUtil.hpp168 std::string getTessellationLevelsString (const TessLevels& tessLevels, const TessPrimitiveType primitiveType);
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTessellationTests.cpp1008 vector<float> tessLevels(numPatches*6);
1012 float* const inner = &tessLevels[patchNdx*6 + 0];
1013 float* const outer = &tessLevels[patchNdx*6 + 2];
1021 return tessLevels;
1380 static bool verifyFractionalSpacingMultiple (TestLog& log, SpacingMode spacingMode, const vector<float>& tessLevels, const vector<float>& additionalSegmentLengths, const vector<int>& additionalSegmentLocations)
1385 DE_ASSERT(tessLevels.size() == additionalSegmentLengths.size() &&
1386 tessLevels.size() == additionalSegmentLocations.size());
1390 for (int i = 0; i < (int)tessLevels.size(); i++)
1391 lineDatas.push_back(LineData(tessLevels[i], additionalSegmentLengths[i], additionalSegmentLocations[i]));
3848 const TessLevels& tessLevels
[all...]

Completed in 24 milliseconds