/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineInputAssemblyTests.cpp | 343 for (int primitiveNdx = 0; primitiveNdx < primitiveCount; primitiveNdx++) in createBufferData() local 347 …tcu::Vec4(originX + float(primitiveNdx / 2) * primitiveSizeX, originY + float(primitiveNdx % 2) * … in createBufferData() 352 indices.push_back(primitiveNdx); in createBufferData() 357 for (int primitiveNdx = 0; primitiveNdx < primitiveCount; primitiveNdx++) in createBufferData() local 363 …tcu::Vec4(originX + float((primitiveNdx * 2 + vertexNdx) / 2) * primitiveSizeX, originY + float(ve… in createBufferData() 368 indices.push_back((primitiveNdx * 2 + vertexNdx)); in createBufferData() 374 for (int primitiveNdx = 0; primitiveNdx < primitiveCount; primitiveNdx++) in createBufferData() local 376 if (primitiveNdx == 0) in createBufferData() 395 …tcu::Vec4(originX + float((primitiveNdx + 1) / 2) * primitiveSizeX, originY + float((primitiveNdx … in createBufferData() 400 indices.push_back(primitiveNdx + 1); in createBufferData() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fUniformLocationTests.cpp | 752 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); primitiveNdx++) in init() local 754 const DataType type = primitiveTypes[primitiveNdx]; in init() 780 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); primitiveNdx++) in init() local 782 const DataType type = primitiveTypes[primitiveNdx]; in init() 809 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); primitiveNdx++) in init() local 811 const DataType type = primitiveTypes[primitiveNdx]; in init() 990 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); primitiveNdx++) in init() local 992 const DataType type = primitiveTypes[primitiveNdx]; in init()
|
D | es31fShaderHelperInvocationTests.cpp | 121 for (int primitiveNdx = 0; primitiveNdx < numPrimitives; ++primitiveNdx) in genVertices() local 129 const float p = (*dst)[primitiveNdx * numVerticesPerPrimitive + vertexNdx][component]; in genVertices() 140 (*dst)[primitiveNdx * numVerticesPerPrimitive + 0][0] *= -1.0f; in genVertices() 141 (*dst)[primitiveNdx * numVerticesPerPrimitive + 0][1] *= -1.0f; in genVertices()
|
D | es31fGeometryShaderTests.cpp | 1290 …const int primitiveNdx = (m_instanced) ? (invocationID) : ((int)vertex->outputs[0].get<float>().x(… in shadePrimitives() local 1292 DE_ASSERT(primitiveNdx >= 0); in shadePrimitives() 1293 DE_ASSERT(primitiveNdx < 4); in shadePrimitives() 1295 emitCount = m_emitCount.value.i4[primitiveNdx]; in shadePrimitives() 1296 color = colors[primitiveNdx]; in shadePrimitives() 1300 …const int primitiveNdx = (m_instanced) ? (invocationID) : ((int)vertex->outputs[0].get<float>().… in shadePrimitives() local 1301 const tcu::Vec2 texCoord = tcu::Vec2(1.0f / 8.0f + (float)primitiveNdx / 4.0f, 0.5f); in shadePrimitives() 1304 DE_ASSERT(primitiveNdx >= 0); in shadePrimitives() 1305 DE_ASSERT(primitiveNdx < 4); in shadePrimitives() 1307 color = colors[primitiveNdx]; in shadePrimitives()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationInvarianceTests.cpp | 750 int primitiveNdx = 0; in iterate() local 753 DE_ASSERT(primitiveNdx < result.numPrimitives); in iterate() 761 …for (; primitiveNdx < result.numPrimitives && result.primitives[primitiveNdx].patchPrimitiveID == … in iterate() 764 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate() 794 DE_ASSERT(primitiveNdx == result.numPrimitives); in iterate() 837 for (int primitiveNdx = 0; primitiveNdx < result.numPrimitives; ++primitiveNdx) in iterate() local 840 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate() 933 for (int primitiveNdx = 0; primitiveNdx < result.numPrimitives; ++primitiveNdx) in iterate() local 936 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate() 951 const bool isMirrored = result.primitives[primitiveNdx].tessCoord[i].w() > 0.5f; in iterate()
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 568 …InterpolationRange interpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewpor… in interpolate() 583 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate() 584 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate() 585 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate() 586 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate() 609 …InterpolationRange interpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewpor… in interpolate() 615 const int lineNdx = primitiveNdx / 2; in interpolate()
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.cpp | 1416 for (size_t primitiveNdx = 0; primitiveNdx < input.size(); ++primitiveNdx) in drawWithGeometryShader() local 1418 primitives[primitiveNdx].primitiveIDIn = drawContext.primitiveID++; in drawWithGeometryShader() 1419 copyVertexPacketPointers(primitives[primitiveNdx].vertices, input[primitiveNdx]); in drawWithGeometryShader()
|
/external/deqp/modules/gles2/functional/ |
D | es2fRasterizationTests.cpp | 1892 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); ++primitiveNdx) in init() local 1895 …ng name = std::string(cullModes[cullModeNdx].prefix) + primitiveTypes[primitiveNdx].name + frontOr… in init() 1897 …Test primitive culling.", cullModes[cullModeNdx].mode, primitiveTypes[primitiveNdx].type, frontOrd… in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fRasterizationTests.cpp | 2274 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); ++primitiveNdx) in init() local 2277 …ng name = std::string(cullModes[cullModeNdx].prefix) + primitiveTypes[primitiveNdx].name + frontOr… in init() 2279 …Test primitive culling.", cullModes[cullModeNdx].mode, primitiveTypes[primitiveNdx].type, frontOrd… in init()
|
/external/deqp/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 2912 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); ++primitiveNdx) in createRasterizationTests() local 2918 …ng name = std::string(cullModes[cullModeNdx].prefix) + primitiveTypes[primitiveNdx].name + frontOr… in createRasterizationTests() 2919 …Test primitive culling.", cullModes[cullModeNdx].mode, primitiveTypes[primitiveNdx].type, frontOrd… in createRasterizationTests()
|