D | vktRayTracingWatertightnessTests.cpp | 188 bool triangles); 410 std::vector<tcu::UVec3> triangles; in initBottomAccelerationStructure() local 424 triangles.reserve(m_data.squaresGroupCount); in initBottomAccelerationStructure() 426 triangles.push_back(tcu::UVec3(0, 1, 2)); in initBottomAccelerationStructure() 427 triangles.push_back(tcu::UVec3(3, 2, 1)); in initBottomAccelerationStructure() 429 while (triangles.size() < m_data.squaresGroupCount) in initBottomAccelerationStructure() 431 const deUint32 n = (deUint32)rng.getInt(0, (deUint32)triangles.size() - 1); in initBottomAccelerationStructure() 432 tcu::UVec3& t = triangles[n]; in initBottomAccelerationStructure() 448 triangles.push_back(tcu::UVec3(q, r, R)); in initBottomAccelerationStructure() 449 triangles.push_back(tcu::UVec3(p, r, R)); in initBottomAccelerationStructure() [all …]
|