Home
last modified time | relevance | path

Searched refs:primitiveNdx (Results 1 – 14 of 14) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp384 for (int primitiveNdx = 0; primitiveNdx < primitiveCount; primitiveNdx++) in createBufferData() local
388 …tcu::Vec4(originX + float(primitiveNdx / 2) * primitiveSizeX, originY + float(primitiveNdx % 2) * … in createBufferData()
393 indices.push_back(primitiveNdx); in createBufferData()
398 for (int primitiveNdx = 0; primitiveNdx < primitiveCount; primitiveNdx++) in createBufferData() local
404 …tcu::Vec4(originX + float((primitiveNdx * 2 + vertexNdx) / 2) * primitiveSizeX, originY + float(ve… in createBufferData()
409 indices.push_back((primitiveNdx * 2 + vertexNdx)); in createBufferData()
415 for (int primitiveNdx = 0; primitiveNdx < primitiveCount; primitiveNdx++) in createBufferData() local
417 if (primitiveNdx == 0) in createBufferData()
436 …tcu::Vec4(originX + float((primitiveNdx + 1) / 2) * primitiveSizeX, originY + float((primitiveNdx in createBufferData()
441 indices.push_back(primitiveNdx + 1); in createBufferData()
[all …]
/external/deqp/modules/gles31/functional/
Des31fUniformLocationTests.cpp752 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()
Des31fShaderHelperInvocationTests.cpp121 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()
Des31fGeometryShaderTests.cpp1290 …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/
DvktTessellationInvarianceTests.cpp757 int primitiveNdx = 0; in iterate() local
766 …for (; primitiveNdx < result.numPrimitives && result.primitives[primitiveNdx].patchPrimitiveID == … in iterate()
769 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
799 DE_ASSERT(primitiveNdx == result.numPrimitives); in iterate()
842 for (int primitiveNdx = 0; primitiveNdx < result.numPrimitives; ++primitiveNdx) in iterate() local
845 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
938 for (int primitiveNdx = 0; primitiveNdx < result.numPrimitives; ++primitiveNdx) in iterate() local
941 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
956 const bool isMirrored = result.primitives[primitiveNdx].tessCoord[i].w() > 0.5f; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryTraversalControlTests.cpp656 for (deUint32 primitiveNdx = 0; primitiveNdx < primitives.size(); ++primitiveNdx) in verifyImage() local
659 deUint32 vNdx = primitives[primitiveNdx][vertexNdx]; in verifyImage()
662 referenceAccess.setPixel(hitValue0, primitiveNdx, vertexNdx, 0); in verifyImage()
663 referenceAccess.setPixel(hitValue1, primitiveNdx, vertexNdx, 1); in verifyImage()
667 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 0); in verifyImage()
668 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 1); in verifyImage()
DvktRayQueryCullRayFlagsTests.cpp703 for (deUint32 primitiveNdx = 0; primitiveNdx < primitives.size(); ++primitiveNdx) in verifyImage() local
706 deUint32 vNdx = primitives[primitiveNdx][vertexNdx]; in verifyImage()
708 referenceAccess.setPixel(hitValue, primitiveNdx, vertexNdx, 0); in verifyImage()
709 referenceAccess.setPixel(hitValue, primitiveNdx, vertexNdx, 1); in verifyImage()
DvktRayQueryAccelerationStructuresTests.cpp712 for (deUint32 primitiveNdx = 0; primitiveNdx < primitives.size(); ++primitiveNdx) in verifyImage() local
715 deUint32 vNdx = primitives[primitiveNdx][vertexNdx]; in verifyImage()
718 referenceAccess.setPixel(hitValue0, primitiveNdx, vertexNdx, 0); in verifyImage()
719 referenceAccess.setPixel(hitValue1, primitiveNdx, vertexNdx, 1); in verifyImage()
723 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 0); in verifyImage()
724 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 1); in verifyImage()
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp572 …InterpolationRange interpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewpor… in interpolate()
587 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate()
588 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate()
589 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate()
590 …onWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], … in interpolate()
613 …InterpolationRange interpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewpor… in interpolate()
619 const int lineNdx = primitiveNdx / 2; in interpolate()
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp1424 for (size_t primitiveNdx = 0; primitiveNdx < input.size(); ++primitiveNdx) in drawWithGeometryShader() local
1426 primitives[primitiveNdx].primitiveIDIn = drawContext.primitiveID++; in drawWithGeometryShader()
1427 copyVertexPacketPointers(primitives[primitiveNdx].vertices, input[primitiveNdx]); in drawWithGeometryShader()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp2034 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); ++primitiveNdx) in init() local
2037 …ng name = std::string(cullModes[cullModeNdx].prefix) + primitiveTypes[primitiveNdx].name + frontOr… in init()
2039 …Test primitive culling.", cullModes[cullModeNdx].mode, primitiveTypes[primitiveNdx].type, frontOrd… in init()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp2279 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); ++primitiveNdx) in init() local
2282 …ng name = std::string(cullModes[cullModeNdx].prefix) + primitiveTypes[primitiveNdx].name + frontOr… in init()
2284 …Test primitive culling.", cullModes[cullModeNdx].mode, primitiveTypes[primitiveNdx].type, frontOrd… in init()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp1526 for (int primitiveNdx = 0; primitiveNdx < 128; primitiveNdx++) in iterateInternal() local
2122 for (int primitiveNdx = 0; primitiveNdx < 128; primitiveNdx++) in iterateInternal() local
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp6727 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); ++primitiveNdx) in createRasterizationTests() local
6733 …ng name = std::string(cullModes[cullModeNdx].prefix) + primitiveTypes[primitiveNdx].name + frontOr… in createRasterizationTests()
6734 …Test primitive culling.", cullModes[cullModeNdx].mode, primitiveTypes[primitiveNdx].type, frontOrd… in createRasterizationTests()
6767 for (int primitiveNdx = 0; primitiveNdx < DE_LENGTH_OF_ARRAY(primitiveTypes); ++primitiveNdx) in createRasterizationTests() local
6769 …oup* const primitive = new tcu::TestCaseGroup(testCtx, primitiveTypes[primitiveNdx].name, "Rasteri… in createRasterizationTests()
6775 …dTestCase(testCtx, name, "Test primitive discarding.", primitiveTypes[primitiveNdx].type, queryPip… in createRasterizationTests()