/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 226 deUint32 squaresGroupCount; member 1912 const deUint32 squaresGroupCount = testParams.squaresGroupCount; in initAccelerationStructures() local 1932 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures() 1934 for (size_t squareNdx = 0; squareNdx < squaresGroupCount; ++squareNdx) in initAccelerationStructures() 2069 const deUint32 squaresGroupCount = testParams.squaresGroupCount; in initAccelerationStructures() local 2075 DE_ASSERT(instancesGroupCount * geometriesGroupCount * squaresGroupCount == width * height); in initAccelerationStructures() 2091 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures() 2093 for (deUint32 squareNdx = 0; squareNdx < squaresGroupCount; ++squareNdx) in initAccelerationStructures() 2229 const deUint32 squaresGroupCount = testParams.squaresGroupCount; in initAccelerationStructures() local 2235 DE_ASSERT(squaresGroupCount == width * height); in initAccelerationStructures() [all …]
|
D | vktRayQueryWatertightnessTests.cpp | 138 deUint32 squaresGroupCount; member 1628 vertices.reserve(2u * testParams.squaresGroupCount); in initAccelerationStructures() 1629 aabbs.reserve(testParams.squaresGroupCount); in initAccelerationStructures() 1669 while (aabbs.size() < testParams.squaresGroupCount) in initAccelerationStructures() 1733 vertices.reserve(3u * testParams.squaresGroupCount); in initAccelerationStructures() 1734 triangles.reserve(testParams.squaresGroupCount); in initAccelerationStructures() 1784 while (triangles.size() < testParams.squaresGroupCount) in initAccelerationStructures() 2249 …const deUint32 squaresGroupCount = (TEST_WIDTH * TEST_HEIGHT) / geometriesGroupCount / instan… in createWatertightnessTests() local 2251 …DE_ASSERT(instancesGroupCount * geometriesGroupCount * squaresGroupCount == TEST_WIDTH * TEST_HEIG… in createWatertightnessTests() 2265 squaresGroupCount, // deUint32 squaresGroupCount; in createWatertightnessTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 226 deUint32 squaresGroupCount; member 1912 const deUint32 squaresGroupCount = testParams.squaresGroupCount; in initAccelerationStructures() local 1932 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures() 1934 for (size_t squareNdx = 0; squareNdx < squaresGroupCount; ++squareNdx) in initAccelerationStructures() 2069 const deUint32 squaresGroupCount = testParams.squaresGroupCount; in initAccelerationStructures() local 2075 DE_ASSERT(instancesGroupCount * geometriesGroupCount * squaresGroupCount == width * height); in initAccelerationStructures() 2091 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures() 2093 for (deUint32 squareNdx = 0; squareNdx < squaresGroupCount; ++squareNdx) in initAccelerationStructures() 2229 const deUint32 squaresGroupCount = testParams.squaresGroupCount; in initAccelerationStructures() local 2235 DE_ASSERT(squaresGroupCount == width * height); in initAccelerationStructures() [all …]
|
D | vktRayQueryWatertightnessTests.cpp | 138 deUint32 squaresGroupCount; member 1628 vertices.reserve(2u * testParams.squaresGroupCount); in initAccelerationStructures() 1629 aabbs.reserve(testParams.squaresGroupCount); in initAccelerationStructures() 1669 while (aabbs.size() < testParams.squaresGroupCount) in initAccelerationStructures() 1733 vertices.reserve(3u * testParams.squaresGroupCount); in initAccelerationStructures() 1734 triangles.reserve(testParams.squaresGroupCount); in initAccelerationStructures() 1784 while (triangles.size() < testParams.squaresGroupCount) in initAccelerationStructures() 2249 …const deUint32 squaresGroupCount = (TEST_WIDTH * TEST_HEIGHT) / geometriesGroupCount / instan… in createWatertightnessTests() local 2251 …DE_ASSERT(instancesGroupCount * geometriesGroupCount * squaresGroupCount == TEST_WIDTH * TEST_HEIG… in createWatertightnessTests() 2265 squaresGroupCount, // deUint32 squaresGroupCount; in createWatertightnessTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
D | vktRayTracingBuildTests.cpp | 76 deUint32 squaresGroupCount; member 192 …DE_ASSERT((m_data.width * m_data.height) == (m_data.squaresGroupCount * m_data.geometriesGroupCoun… in RayTracingTestCase() 324 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 326 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 542 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 628 const deUint32 squaresGroupCount = testsNdx == 0 ? largestGroup : factor; in buildTest() local 636 squaresGroupCount, // deUint32 squaresGroupCount; in buildTest() 643 …+ '_' + de::toString(caseDef.geometriesGroupCount) + '_' + de::toString(caseDef.squaresGroupCount); in buildTest() 646 if (squaresGroupCount == 0 || geometriesGroupCount == 0 || instancesGroupCount == 0) in buildTest() 657 const deUint32 squaresGroupCount = testsNdx == 0 ? largestGroup : factor; in buildTest() local [all …]
|
D | vktRayTracingWatertightnessTests.cpp | 63 deUint32 squaresGroupCount; member 362 const auto& nSharedEdges = m_data.squaresGroupCount; in initPrograms() 442 vertices.reserve(3u * m_data.squaresGroupCount); in initBottomAccelerationStructure() 449 triangles.reserve(m_data.squaresGroupCount); in initBottomAccelerationStructure() 454 while (triangles.size() < m_data.squaresGroupCount) in initBottomAccelerationStructure() 516 const float angleDiff = 2.0f * DE_PI / static_cast<float>(m_data.squaresGroupCount); in initBottomAccelerationStructures() 520 for (deUint32 nSharedEdge = 0; nSharedEdge < m_data.squaresGroupCount; ++nSharedEdge) in initBottomAccelerationStructures() 528 for (deUint32 nSharedEdge = 0; nSharedEdge < m_data.squaresGroupCount; ++nSharedEdge) in initBottomAccelerationStructures() 533 (nSharedEdge != m_data.squaresGroupCount - 1) ? (2 + nSharedEdge) in initBottomAccelerationStructures() 616 const auto hitGroupCount = (m_data.useManyGeometries ? m_data.squaresGroupCount : 1u); in runTest() [all …]
|
D | vktRayTracingBuildLargeTests.cpp | 63 deUint32 squaresGroupCount; member 193 …DE_ASSERT((m_data.width * m_data.height) == (m_data.squaresGroupCount * m_data.geometriesGroupCoun… in RayTracingTestCase() 319 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure() 321 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 470 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 563 const deUint32 squaresGroupCount = largestGroup; in createBuildLargeShaderSetTests() local 570 squaresGroupCount, // deUint32 squaresGroupCount; in createBuildLargeShaderSetTests() 599 const deUint32 squaresGroupCount = largestGroup; in createBuildLargeShaderSetTests() local 606 squaresGroupCount, // deUint32 squaresGroupCount; in createBuildLargeShaderSetTests()
|
D | vktRayTracingBuiltinTests.cpp | 120 deUint32 squaresGroupCount; member 583 …" int m = (n / " + de::toString(m_data.squaresGroupCount) + ") % " + de::toString(m_data.geomet… in initPrograms() 586 " int m = n % " + de::toString(m_data.squaresGroupCount) + ";\n" in initPrograms() 1284 DE_ASSERT(m_data.squaresGroupCount != 1); in initBottomAccelerationStructure() 1290 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 1292 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 1329 DE_ASSERT(m_data.squaresGroupCount != 1); in initBottomAccelerationStructure() 1335 geometryDataOpaque.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 1336 geometryDataNonOpaque.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 1343 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() [all …]
|
D | vktRayTracingBuildIndirectTests.cpp | 60 deUint32 squaresGroupCount; member 223 …DE_ASSERT((m_data.width * m_data.height * m_data.depth) == (m_data.squaresGroupCount * m_data.geom… in RayTracingTestCase() 397 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure() 401 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 611 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 682 const deUint32 squaresGroupCount = largestGroup; in createBuildIndirectTests() local 690 squaresGroupCount, in createBuildIndirectTests()
|
D | vktRayTracingMemGuaranteeTests.cpp | 70 deUint32 squaresGroupCount; member 237 …DE_ASSERT((m_data.width * m_data.height) == (m_data.squaresGroupCount * m_data.geometriesGroupCoun… in RayTracingTestCase() 575 geometryData.reserve(2u * m_data.squaresGroupCount); in initBottomAccelerationStructure() 577 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 740 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 821 const deUint32 squaresGroupCount = width * height / geometriesGroupCount / instancesGroupCount; in createMemGuaranteeTests() local 828 squaresGroupCount, // deUint32 squaresGroupCount; in createMemGuaranteeTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingBuildTests.cpp | 76 deUint32 squaresGroupCount; member 192 …DE_ASSERT((m_data.width * m_data.height) == (m_data.squaresGroupCount * m_data.geometriesGroupCoun… in RayTracingTestCase() 324 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 326 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 542 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 628 const deUint32 squaresGroupCount = testsNdx == 0 ? largestGroup : factor; in buildTest() local 636 squaresGroupCount, // deUint32 squaresGroupCount; in buildTest() 643 …+ '_' + de::toString(caseDef.geometriesGroupCount) + '_' + de::toString(caseDef.squaresGroupCount); in buildTest() 646 if (squaresGroupCount == 0 || geometriesGroupCount == 0 || instancesGroupCount == 0) in buildTest() 657 const deUint32 squaresGroupCount = testsNdx == 0 ? largestGroup : factor; in buildTest() local [all …]
|
D | vktRayTracingWatertightnessTests.cpp | 63 deUint32 squaresGroupCount; member 362 const auto& nSharedEdges = m_data.squaresGroupCount; in initPrograms() 442 vertices.reserve(3u * m_data.squaresGroupCount); in initBottomAccelerationStructure() 449 triangles.reserve(m_data.squaresGroupCount); in initBottomAccelerationStructure() 454 while (triangles.size() < m_data.squaresGroupCount) in initBottomAccelerationStructure() 516 const float angleDiff = 2.0f * DE_PI / static_cast<float>(m_data.squaresGroupCount); in initBottomAccelerationStructures() 520 for (deUint32 nSharedEdge = 0; nSharedEdge < m_data.squaresGroupCount; ++nSharedEdge) in initBottomAccelerationStructures() 528 for (deUint32 nSharedEdge = 0; nSharedEdge < m_data.squaresGroupCount; ++nSharedEdge) in initBottomAccelerationStructures() 533 (nSharedEdge != m_data.squaresGroupCount - 1) ? (2 + nSharedEdge) in initBottomAccelerationStructures() 616 const auto hitGroupCount = (m_data.useManyGeometries ? m_data.squaresGroupCount : 1u); in runTest() [all …]
|
D | vktRayTracingBuildLargeTests.cpp | 63 deUint32 squaresGroupCount; member 193 …DE_ASSERT((m_data.width * m_data.height) == (m_data.squaresGroupCount * m_data.geometriesGroupCoun… in RayTracingTestCase() 319 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure() 321 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 470 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 563 const deUint32 squaresGroupCount = largestGroup; in createBuildLargeShaderSetTests() local 570 squaresGroupCount, // deUint32 squaresGroupCount; in createBuildLargeShaderSetTests() 599 const deUint32 squaresGroupCount = largestGroup; in createBuildLargeShaderSetTests() local 606 squaresGroupCount, // deUint32 squaresGroupCount; in createBuildLargeShaderSetTests()
|
D | vktRayTracingBuiltinTests.cpp | 120 deUint32 squaresGroupCount; member 583 …" int m = (n / " + de::toString(m_data.squaresGroupCount) + ") % " + de::toString(m_data.geomet… in initPrograms() 586 " int m = n % " + de::toString(m_data.squaresGroupCount) + ";\n" in initPrograms() 1284 DE_ASSERT(m_data.squaresGroupCount != 1); in initBottomAccelerationStructure() 1290 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 1292 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 1329 DE_ASSERT(m_data.squaresGroupCount != 1); in initBottomAccelerationStructure() 1335 geometryDataOpaque.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 1336 geometryDataNonOpaque.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure() 1343 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() [all …]
|
D | vktRayTracingBuildIndirectTests.cpp | 60 deUint32 squaresGroupCount; member 223 …DE_ASSERT((m_data.width * m_data.height * m_data.depth) == (m_data.squaresGroupCount * m_data.geom… in RayTracingTestCase() 397 geometryData.reserve(m_data.squaresGroupCount * 3u); in initBottomAccelerationStructure() 401 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 611 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 682 const deUint32 squaresGroupCount = largestGroup; in createBuildIndirectTests() local 690 squaresGroupCount, in createBuildIndirectTests()
|
D | vktRayTracingMemGuaranteeTests.cpp | 70 deUint32 squaresGroupCount; member 237 …DE_ASSERT((m_data.width * m_data.height) == (m_data.squaresGroupCount * m_data.geometriesGroupCoun… in RayTracingTestCase() 575 geometryData.reserve(2u * m_data.squaresGroupCount); in initBottomAccelerationStructure() 577 for (size_t squareNdx = 0; squareNdx < m_data.squaresGroupCount; ++squareNdx) in initBottomAccelerationStructure() 740 if (rayTracingProperties->getMaxPrimitiveCount() < m_data.squaresGroupCount) in checkSupportInInstance() 821 const deUint32 squaresGroupCount = width * height / geometriesGroupCount / instancesGroupCount; in createMemGuaranteeTests() local 828 squaresGroupCount, // deUint32 squaresGroupCount; in createMemGuaranteeTests()
|