/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 1930 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 …]
|
D | vktRayQueryWatertightnessTests.cpp | 1621 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/ |
D | vktRayQueryBuiltinTests.cpp | 1930 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 …]
|
D | vktRayQueryWatertightnessTests.cpp | 1621 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/ |
D | vktRayTracingWatertightnessTests.cpp | 436 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 …]
|
D | vktRayTracingBuiltinTests.cpp | 1288 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 …]
|
D | vktRayTracingTraceRaysTests.cpp | 435 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 …]
|
D | vktRayTracingBuildTests.cpp | 322 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()
|
D | vktRayTracingPipelineLibraryTests.cpp | 388 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()
|
D | vktRayTracingBuildLargeTests.cpp | 317 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()
|
D | vktRayTracingBuildIndirectTests.cpp | 395 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()
|
D | vktRayTracingMemGuaranteeTests.cpp | 573 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()
|
D | vktRayTracingCaptureReplayTests.cpp | 298 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/ |
D | vktRayTracingWatertightnessTests.cpp | 436 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 …]
|
D | vktRayTracingBuiltinTests.cpp | 1288 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 …]
|
D | vktRayTracingTraceRaysTests.cpp | 435 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 …]
|
D | vktRayTracingPipelineLibraryTests.cpp | 388 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()
|
D | vktRayTracingBuildTests.cpp | 322 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()
|
D | vktRayTracingBuildLargeTests.cpp | 317 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()
|
D | vktRayTracingBuildIndirectTests.cpp | 395 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()
|
D | vktRayTracingMemGuaranteeTests.cpp | 573 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()
|
D | vktRayTracingCaptureReplayTests.cpp | 298 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/ |
D | vkRayTracingUtil.cpp | 642 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/ |
D | vktBindingDescriptorUpdateASTests.cpp | 566 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/ |
D | vktBindingDescriptorUpdateASTests.cpp | 566 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()
|