Home
last modified time | relevance | path

Searched refs:geometryData (Results 1 – 25 of 32) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp1930 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
1932 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures()
1948 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures()
1949 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures()
1950 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures()
1954 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures()
1955 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initAccelerationStructures()
1962 rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, triangles); in initAccelerationStructures()
2089 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
2091 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures()
[all …]
DvktRayQueryWatertightnessTests.cpp1621 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
1712 geometryData.reserve(2u * aabbs.size()); in initAccelerationStructures()
1723 geometryData.push_back(A); in initAccelerationStructures()
1724 geometryData.push_back(B); in initAccelerationStructures()
1810 geometryData.reserve(3u * triangles.size()); in initAccelerationStructures()
1818 geometryData.push_back(tcu::Vec3(vertices[a].x(), vertices[a].y(), verticesZ[a])); in initAccelerationStructures()
1819 geometryData.push_back(tcu::Vec3(vertices[b].x(), vertices[b].y(), verticesZ[b])); in initAccelerationStructures()
1820 geometryData.push_back(tcu::Vec3(vertices[c].x(), vertices[c].y(), verticesZ[c])); in initAccelerationStructures()
1829 …rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, testParams.geomType == GEOM_TY… in initAccelerationStructures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp1930 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
1932 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures()
1948 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures()
1949 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures()
1950 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures()
1954 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures()
1955 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initAccelerationStructures()
1962 rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, triangles); in initAccelerationStructures()
2089 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
2091 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures()
[all …]
DvktRayQueryWatertightnessTests.cpp1621 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
1712 geometryData.reserve(2u * aabbs.size()); in initAccelerationStructures()
1723 geometryData.push_back(A); in initAccelerationStructures()
1724 geometryData.push_back(B); in initAccelerationStructures()
1810 geometryData.reserve(3u * triangles.size()); in initAccelerationStructures()
1818 geometryData.push_back(tcu::Vec3(vertices[a].x(), vertices[a].y(), verticesZ[a])); in initAccelerationStructures()
1819 geometryData.push_back(tcu::Vec3(vertices[b].x(), vertices[b].y(), verticesZ[b])); in initAccelerationStructures()
1820 geometryData.push_back(tcu::Vec3(vertices[c].x(), vertices[c].y(), verticesZ[c])); in initAccelerationStructures()
1829 …rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, testParams.geomType == GEOM_TY… in initAccelerationStructures()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingWatertightnessTests.cpp436 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
483 geometryData.reserve(3u * triangles.size()); in initBottomAccelerationStructure()
487 geometryData.push_back(vertices[triangles[i].x()]); in initBottomAccelerationStructure()
488 geometryData.push_back(vertices[triangles[i].y()]); in initBottomAccelerationStructure()
489 geometryData.push_back(vertices[triangles[i].z()]); in initBottomAccelerationStructure()
492 result->addGeometry(geometryData, triangle); in initBottomAccelerationStructure()
551 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
552 geometryData.reserve(3u); in initBottomAccelerationStructures()
554 geometryData.push_back(vertices[triangles[i].x()]); in initBottomAccelerationStructures()
555 geometryData.push_back(vertices[triangles[i].y()]); in initBottomAccelerationStructures()
[all …]
DvktRayTracingBuiltinTests.cpp1288 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
1290 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure()
1306 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
1307 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
1308 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
1312 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
1313 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initBottomAccelerationStructure()
1320 result->addGeometry(geometryData, triangles); in initBottomAccelerationStructure()
1341 …std::vector<tcu::Vec3>& geometryData = ((geometryNdx & 2) == 0) ? geometryDataOpaque : geometryDat… in initBottomAccelerationStructure() local
1359 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
[all …]
DvktRayTracingTraceRaysTests.cpp435 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
440 geometryData.push_back(xyz + v0); in initBottomAccelerationStructures()
441 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
442 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
443 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
444 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
445 geometryData.push_back(xyz + v3); in initBottomAccelerationStructures()
447 bottomLevelAccelerationStructure->addGeometry(geometryData, true); in initBottomAccelerationStructures()
1060 std::vector<tcu::Vec3> geometryData; in initBottomAccellStructures() local
1065 geometryData.push_back(xyz + v0); in initBottomAccellStructures()
[all …]
DvktRayTracingBuildTests.cpp322 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
324 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure()
341 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
342 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
343 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
347 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
348 geometryData.push_back(tcu::Vec3(x1, y1, z)); in initBottomAccelerationStructure()
355 blas->addGeometry(geometryData, triangles); in initBottomAccelerationStructure()
DvktRayTracingPipelineLibraryTests.cpp388 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
393 geometryData.push_back(xyz + v0); in initBottomAccelerationStructures()
394 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
395 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
396 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
397 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
398 geometryData.push_back(xyz + v3); in initBottomAccelerationStructures()
400 bottomLevelAccelerationStructure->addGeometry(geometryData, true); in initBottomAccelerationStructures()
DvktRayTracingBuildLargeTests.cpp317 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
319 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure()
332 geometryData.push_back(tcu::Vec3(x0, y0, -1.0f)); in initBottomAccelerationStructure()
333 geometryData.push_back(tcu::Vec3(xm, y1, -1.0f)); in initBottomAccelerationStructure()
334 geometryData.push_back(tcu::Vec3(x1, ym, -1.0f)); in initBottomAccelerationStructure()
340 result->addGeometry(geometryData, true); in initBottomAccelerationStructure()
DvktRayTracingBuildIndirectTests.cpp395 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
397 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure()
412 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
413 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
414 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
420 result->addGeometry(geometryData, true); in initBottomAccelerationStructure()
DvktRayTracingMemGuaranteeTests.cpp573 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
575 geometryData.reserve(2u * m_data.squaresGroupCount); in initBottomAccelerationStructure()
586 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
587 geometryData.push_back(tcu::Vec3(x1, y1, z)); in initBottomAccelerationStructure()
593 result->addGeometry(geometryData, false); in initBottomAccelerationStructure()
DvktRayTracingCaptureReplayTests.cpp298 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
303 geometryData.push_back(xyz + v0); in initBottomAccelerationStructures()
304 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
305 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
306 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
307 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
308 geometryData.push_back(xyz + v3); in initBottomAccelerationStructures()
310 bottomLevelAccelerationStructure->addGeometry(geometryData, true); in initBottomAccelerationStructures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingWatertightnessTests.cpp436 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
483 geometryData.reserve(3u * triangles.size()); in initBottomAccelerationStructure()
487 geometryData.push_back(vertices[triangles[i].x()]); in initBottomAccelerationStructure()
488 geometryData.push_back(vertices[triangles[i].y()]); in initBottomAccelerationStructure()
489 geometryData.push_back(vertices[triangles[i].z()]); in initBottomAccelerationStructure()
492 result->addGeometry(geometryData, triangle); in initBottomAccelerationStructure()
551 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
552 geometryData.reserve(3u); in initBottomAccelerationStructures()
554 geometryData.push_back(vertices[triangles[i].x()]); in initBottomAccelerationStructures()
555 geometryData.push_back(vertices[triangles[i].y()]); in initBottomAccelerationStructures()
[all …]
DvktRayTracingBuiltinTests.cpp1288 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
1290 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure()
1306 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
1307 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
1308 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
1312 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
1313 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initBottomAccelerationStructure()
1320 result->addGeometry(geometryData, triangles); in initBottomAccelerationStructure()
1341 …std::vector<tcu::Vec3>& geometryData = ((geometryNdx & 2) == 0) ? geometryDataOpaque : geometryDat… in initBottomAccelerationStructure() local
1359 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
[all …]
DvktRayTracingTraceRaysTests.cpp435 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
440 geometryData.push_back(xyz + v0); in initBottomAccelerationStructures()
441 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
442 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
443 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
444 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
445 geometryData.push_back(xyz + v3); in initBottomAccelerationStructures()
447 bottomLevelAccelerationStructure->addGeometry(geometryData, true); in initBottomAccelerationStructures()
1060 std::vector<tcu::Vec3> geometryData; in initBottomAccellStructures() local
1065 geometryData.push_back(xyz + v0); in initBottomAccellStructures()
[all …]
DvktRayTracingPipelineLibraryTests.cpp388 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
393 geometryData.push_back(xyz + v0); in initBottomAccelerationStructures()
394 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
395 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
396 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
397 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
398 geometryData.push_back(xyz + v3); in initBottomAccelerationStructures()
400 bottomLevelAccelerationStructure->addGeometry(geometryData, true); in initBottomAccelerationStructures()
DvktRayTracingBuildTests.cpp322 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
324 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure()
341 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
342 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
343 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
347 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
348 geometryData.push_back(tcu::Vec3(x1, y1, z)); in initBottomAccelerationStructure()
355 blas->addGeometry(geometryData, triangles); in initBottomAccelerationStructure()
DvktRayTracingBuildLargeTests.cpp317 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
319 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure()
332 geometryData.push_back(tcu::Vec3(x0, y0, -1.0f)); in initBottomAccelerationStructure()
333 geometryData.push_back(tcu::Vec3(xm, y1, -1.0f)); in initBottomAccelerationStructure()
334 geometryData.push_back(tcu::Vec3(x1, ym, -1.0f)); in initBottomAccelerationStructure()
340 result->addGeometry(geometryData, true); in initBottomAccelerationStructure()
DvktRayTracingBuildIndirectTests.cpp395 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
397 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure()
412 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
413 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
414 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
420 result->addGeometry(geometryData, true); in initBottomAccelerationStructure()
DvktRayTracingMemGuaranteeTests.cpp573 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
575 geometryData.reserve(2u * m_data.squaresGroupCount); in initBottomAccelerationStructure()
586 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
587 geometryData.push_back(tcu::Vec3(x1, y1, z)); in initBottomAccelerationStructure()
593 result->addGeometry(geometryData, false); in initBottomAccelerationStructure()
DvktRayTracingCaptureReplayTests.cpp298 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
303 geometryData.push_back(xyz + v0); in initBottomAccelerationStructures()
304 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
305 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
306 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
307 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
308 geometryData.push_back(xyz + v3); in initBottomAccelerationStructures()
310 bottomLevelAccelerationStructure->addGeometry(geometryData, true); in initBottomAccelerationStructures()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp642 void BottomLevelAccelerationStructure::setGeometryData (const std::vector<tcu::Vec3>& geometryData, in setGeometryData() argument
647 DE_ASSERT((geometryData.size() % 3) == 0); in setGeometryData()
649 DE_ASSERT((geometryData.size() % 2) == 0); in setGeometryData()
653 addGeometry(geometryData, triangles, geometryFlags); in setGeometryData()
661 std::vector<tcu::Vec3> geometryData; in setDefaultGeometryData() local
676 geometryData.reserve(6); in setDefaultGeometryData()
678 geometryData.push_back(tcu::Vec3(-1.0f, -1.0f, z)); in setDefaultGeometryData()
679 geometryData.push_back(tcu::Vec3(-1.0f, +1.0f, z)); in setDefaultGeometryData()
680 geometryData.push_back(tcu::Vec3(+1.0f, -1.0f, z)); in setDefaultGeometryData()
681 geometryData.push_back(tcu::Vec3(-1.0f, +1.0f, z)); in setDefaultGeometryData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingDescriptorUpdateASTests.cpp566 std::vector<tcu::Vec3> geometryData; in createAccelerationStructures() local
570 geometryData.push_back(tcu::Vec3(0.0f, 0.0f, PLAIN_Z0)); in createAccelerationStructures()
571 geometryData.push_back(tcu::Vec3(1.0f, 0.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
572 geometryData.push_back(tcu::Vec3(0.0f, 1.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
573 geometryData.push_back(tcu::Vec3(1.0f, 1.0f, PLAIN_Z1)); in createAccelerationStructures()
574 geometryData.push_back(tcu::Vec3(0.0f, 1.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
575 geometryData.push_back(tcu::Vec3(1.0f, 0.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
578 rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, true); in createAccelerationStructures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateASTests.cpp566 std::vector<tcu::Vec3> geometryData; in createAccelerationStructures() local
570 geometryData.push_back(tcu::Vec3(0.0f, 0.0f, PLAIN_Z0)); in createAccelerationStructures()
571 geometryData.push_back(tcu::Vec3(1.0f, 0.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
572 geometryData.push_back(tcu::Vec3(0.0f, 1.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
573 geometryData.push_back(tcu::Vec3(1.0f, 1.0f, PLAIN_Z1)); in createAccelerationStructures()
574 geometryData.push_back(tcu::Vec3(0.0f, 1.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
575 geometryData.push_back(tcu::Vec3(1.0f, 0.0f, (PLAIN_Z0 + PLAIN_Z1) / 2.0f)); in createAccelerationStructures()
578 rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, true); in createAccelerationStructures()

12