Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp1961 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
1963 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures()
1979 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures()
1980 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures()
1981 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures()
1985 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures()
1986 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initAccelerationStructures()
1993 rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, triangles); in initAccelerationStructures()
2120 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
2122 geometryData.reserve(squaresGroupCount * (triangles ? 3u : 2u)); in initAccelerationStructures()
[all …]
DvktRayQueryWatertightnessTests.cpp1652 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() local
1743 geometryData.reserve(2u * aabbs.size()); in initAccelerationStructures()
1754 geometryData.push_back(A); in initAccelerationStructures()
1755 geometryData.push_back(B); in initAccelerationStructures()
1841 geometryData.reserve(3u * triangles.size()); in initAccelerationStructures()
1849 geometryData.push_back(tcu::Vec3(vertices[a].x(), vertices[a].y(), verticesZ[a])); in initAccelerationStructures()
1850 geometryData.push_back(tcu::Vec3(vertices[b].x(), vertices[b].y(), verticesZ[b])); in initAccelerationStructures()
1851 geometryData.push_back(tcu::Vec3(vertices[c].x(), vertices[c].y(), verticesZ[c])); in initAccelerationStructures()
1860 …rayQueryBottomLevelAccelerationStructure->addGeometry(geometryData, testParams.geomType == GEOM_TY… in initAccelerationStructures()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp599 void BottomLevelAccelerationStructure::setGeometryData (const std::vector<tcu::Vec3>& geometryData, in setGeometryData() argument
604 DE_ASSERT((geometryData.size() % 3) == 0); in setGeometryData()
606 DE_ASSERT((geometryData.size() % 2) == 0); in setGeometryData()
610 addGeometry(geometryData, triangles, geometryFlags); in setGeometryData()
618 std::vector<tcu::Vec3> geometryData; in setDefaultGeometryData() local
633 geometryData.reserve(6); in setDefaultGeometryData()
635 geometryData.push_back(tcu::Vec3(-1.0f, -1.0f, z)); in setDefaultGeometryData()
636 geometryData.push_back(tcu::Vec3(-1.0f, +1.0f, z)); in setDefaultGeometryData()
637 geometryData.push_back(tcu::Vec3(+1.0f, -1.0f, z)); in setDefaultGeometryData()
638 geometryData.push_back(tcu::Vec3(-1.0f, +1.0f, z)); in setDefaultGeometryData()
[all …]
DvkRayTracingUtil.hpp501 virtual void setGeometryData (const std::vector<tcu::Vec3>& geometryData,
508 virtual void addGeometry (const std::vector<tcu::Vec3>& geometryData,
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
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 …]
DvktRayTracingBuildTests.cpp307 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
309 geometryData.reserve(m_data.squaresGroupCount * (triangles ? 3u : 2u)); in initBottomAccelerationStructure()
326 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
327 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
328 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
332 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
333 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initBottomAccelerationStructure()
334 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initBottomAccelerationStructure()
339 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initBottomAccelerationStructure()
340 geometryData.push_back(tcu::Vec3(x1, y1, z)); in initBottomAccelerationStructure()
[all …]
DvktRayTracingTraceRaysTests.cpp300 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructures() local
305 geometryData.push_back(xyz + v0); in initBottomAccelerationStructures()
306 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
307 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
308 geometryData.push_back(xyz + v2); in initBottomAccelerationStructures()
309 geometryData.push_back(xyz + v1); in initBottomAccelerationStructures()
310 geometryData.push_back(xyz + v3); in initBottomAccelerationStructures()
312 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()
DvktRayTracingComplexControlFlowTests.cpp419 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure() local
424 geometryData.push_back(tcu::Vec3(0.0f, 0.0f, z)); in initBottomAccelerationStructure()
425 geometryData.push_back(tcu::Vec3(1.0f, 1.0f, z)); in initBottomAccelerationStructure()
426 result->addGeometry(geometryData, false); in initBottomAccelerationStructure()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js252 var geometryData = [ ];
277 geometryData.push(radius * x);
278 geometryData.push(radius * y);
279 geometryData.push(radius * z);
309 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(geometryData), ctx.STATIC_DRAW);