Home
last modified time | relevance | path

Searched refs:triangleNdx (Results 1 – 15 of 15) sorted by relevance

/third_party/vk-gl-cts/modules/glshared/
DglsStateChangePerfTestCases.cpp108 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in genIndices() local
110 indices.push_back((GLushort)(triangleNdx*3)); in genIndices()
111 indices.push_back((GLushort)(triangleNdx*3+1)); in genIndices()
112 indices.push_back((GLushort)(triangleNdx*3+2)); in genIndices()
120 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in genCoords() local
122 if ((triangleNdx % 2) == 0) in genCoords()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() local
178 m_dynamicIndexData.push_back(deUint8(triangleNdx * 3)); in createIndexData()
179 m_dynamicIndexData.push_back(deUint8(triangleNdx * 3 + 1)); in createIndexData()
180 m_dynamicIndexData.push_back(deUint8(triangleNdx * 3 + 2)); in createIndexData()
188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() local
190 m_staticIndexData.push_back(deUint8(triangleNdx * 3)); in createIndexData()
191 m_staticIndexData.push_back(deUint8(triangleNdx * 3 + 1)); in createIndexData()
192 m_staticIndexData.push_back(deUint8(triangleNdx * 3 + 2)); in createIndexData()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderMultisampleInterpolationTests.cpp809 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData() local
811 const float angle = ((float)triangleNdx) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
812 const float nextAngle = ((float)triangleNdx + 1.0f) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
814 data[(triangleNdx * 3 + 0) * 3 + 0] = tcu::Vec4(0.2f, -0.3f, 0.0f, 1.0f); in setupRenderData()
815 data[(triangleNdx * 3 + 0) * 3 + 1] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
816 data[(triangleNdx * 3 + 0) * 3 + 2] = tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); in setupRenderData()
818 …data[(triangleNdx * 3 + 1) * 3 + 0] = tcu::Vec4(2.0f * deFloatCos(angle), 2.0f * deFloatSin(angle)… in setupRenderData()
819 data[(triangleNdx * 3 + 1) * 3 + 1] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
820 data[(triangleNdx * 3 + 1) * 3 + 2] = tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f); in setupRenderData()
822 …data[(triangleNdx * 3 + 2) * 3 + 0] = tcu::Vec4(2.0f * deFloatCos(nextAngle), 2.0f * deFloatSin(ne… in setupRenderData()
[all …]
Des31fTextureMultisampleTests.cpp527 for (int triangleNdx = 0; triangleNdx < (int)m_testTriangles.size(); ++triangleNdx) in convertToSceneSpec() local
531 triangle.positions[0] = m_testTriangles[triangleNdx].p1 - offset; in convertToSceneSpec()
532 triangle.positions[1] = m_testTriangles[triangleNdx].p2 - offset; in convertToSceneSpec()
533 triangle.positions[2] = m_testTriangles[triangleNdx].p3 - offset; in convertToSceneSpec()
Des31fPrimitiveBoundingBoxTests.cpp4428 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in createVbo() local
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp156 for (int triangleNdx = 0; triangleNdx < 2; triangleNdx++) in createCoordData() local
164 const float side = ((triangleNdx % 2) == 0 ? 1.0f : -1.0f); in createCoordData()
180 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createCoordData() local
188 const float side = ((triangleNdx % 2) == 0 ? 1.0f : -1.0f); in createCoordData()
223 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createIndexData() local
225 if ((triangleNdx % 2) == 0) in createIndexData()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp454 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in iterate() local
Des3fRasterizationTests.cpp889 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
893 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
894 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
895 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
896 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp596 for (int triangleNdx = 0; triangleNdx < TRIANGLE_COUNT; triangleNdx++) in init() local
598 VkDeviceSize vertexBufferOffset = triangleOffset * triangleNdx; in init()
601 …shaderStage, m_pushConstantRange[0].range.offset, m_pushConstantRange[0].range.size, &triangleNdx); in init()
663 for (int triangleNdx = 0; triangleNdx < TRIANGLE_COUNT; triangleNdx++) in verifyImage() local
669 std::vector<Vertex4RGBA>(m_vertices.begin() + triangleNdx * 3, in verifyImage()
670 m_vertices.begin() + (triangleNdx + 1) * 3)); in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp596 for (int triangleNdx = 0; triangleNdx < TRIANGLE_COUNT; triangleNdx++) in init() local
598 VkDeviceSize vertexBufferOffset = triangleOffset * triangleNdx; in init()
601 …shaderStage, m_pushConstantRange[0].range.offset, m_pushConstantRange[0].range.size, &triangleNdx); in init()
663 for (int triangleNdx = 0; triangleNdx < TRIANGLE_COUNT; triangleNdx++) in verifyImage() local
669 std::vector<Vertex4RGBA>(m_vertices.begin() + triangleNdx * 3, in verifyImage()
670 m_vertices.begin() + (triangleNdx + 1) * 3)); in verifyImage()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRasterizationTests.cpp740 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
744 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
745 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
746 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
747 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp2480 for (deUint32 triangleNdx = 0; triangleNdx < trianglesCount; ++triangleNdx) in verifyTransformFeedbackBufferTriangles() local
2482 if (triangleNdx % 2 == 0) in verifyTransformFeedbackBufferTriangles()
2484 reference.push_back(stripe[triangleNdx + 0]); in verifyTransformFeedbackBufferTriangles()
2485 reference.push_back(stripe[triangleNdx + 1]); in verifyTransformFeedbackBufferTriangles()
2486 reference.push_back(stripe[triangleNdx + 2]); in verifyTransformFeedbackBufferTriangles()
2490 reference.push_back(stripe[triangleNdx + 0]); in verifyTransformFeedbackBufferTriangles()
2491 reference.push_back(stripe[triangleNdx + 2]); in verifyTransformFeedbackBufferTriangles()
2492 reference.push_back(stripe[triangleNdx + 1]); in verifyTransformFeedbackBufferTriangles()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp2480 for (deUint32 triangleNdx = 0; triangleNdx < trianglesCount; ++triangleNdx) in verifyTransformFeedbackBufferTriangles() local
2482 if (triangleNdx % 2 == 0) in verifyTransformFeedbackBufferTriangles()
2484 reference.push_back(stripe[triangleNdx + 0]); in verifyTransformFeedbackBufferTriangles()
2485 reference.push_back(stripe[triangleNdx + 1]); in verifyTransformFeedbackBufferTriangles()
2486 reference.push_back(stripe[triangleNdx + 2]); in verifyTransformFeedbackBufferTriangles()
2490 reference.push_back(stripe[triangleNdx + 0]); in verifyTransformFeedbackBufferTriangles()
2491 reference.push_back(stripe[triangleNdx + 2]); in verifyTransformFeedbackBufferTriangles()
2492 reference.push_back(stripe[triangleNdx + 1]); in verifyTransformFeedbackBufferTriangles()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
DvktRasterizationTests.cpp2230 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
2234 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
2235 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
2236 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
2237 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
3133 for (size_t triangleNdx = 0; triangleNdx < triangles.size(); ++triangleNdx) in compareAndVerifyUnderestimatedNormal() local
3135 const tcu::Vec4& p0 = triangles[triangleNdx].positions[0]; in compareAndVerifyUnderestimatedNormal()
3136 const tcu::Vec4& p1 = triangles[triangleNdx].positions[1]; in compareAndVerifyUnderestimatedNormal()
3137 const tcu::Vec4& p2 = triangles[triangleNdx].positions[2]; in compareAndVerifyUnderestimatedNormal()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp2230 for (int triangleNdx = 0; triangleNdx < (int)outTriangles.size(); ++triangleNdx) in generateTriangles() local
2234 << "Triangle " << (triangleNdx+1) << ":" in generateTriangles()
2235 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
2236 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
2237 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
3133 for (size_t triangleNdx = 0; triangleNdx < triangles.size(); ++triangleNdx) in compareAndVerifyUnderestimatedNormal() local
3135 const tcu::Vec4& p0 = triangles[triangleNdx].positions[0]; in compareAndVerifyUnderestimatedNormal()
3136 const tcu::Vec4& p1 = triangles[triangleNdx].positions[1]; in compareAndVerifyUnderestimatedNormal()
3137 const tcu::Vec4& p2 = triangles[triangleNdx].positions[2]; in compareAndVerifyUnderestimatedNormal()