Home
last modified time | relevance | path

Searched refs:vertexNdx (Results 1 – 25 of 50) sorted by relevance

12

/external/deqp/framework/referencerenderer/
DrrVertexAttrib.hpp151 …ib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
152 …b (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
153 …b (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
157 …eadVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttribFloat() argument
160 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribFloat()
164 … readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttribInt() argument
167 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribInt()
171 …readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttribUint() argument
174 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribUint()
DrrVertexAttrib.cpp488 …trib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttrib() argument
494 … = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; in readVertexAttrib()
508 …rib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttrib() argument
514 … = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; in readVertexAttrib()
528 …rib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttrib() argument
534 … = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; in readVertexAttrib()
DrrVertexPacket.hpp57 int vertexNdx; //!< Vertex index. member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp359 for (int vertexNdx = 0; vertexNdx < 2; vertexNdx++) 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()
408 for (int vertexNdx = 0; vertexNdx < 3; vertexNdx++) in createBufferData() local
412 …(originX + float((primitiveNdx * 3 + vertexNdx) / 2) * primitiveSizeX, originY + float((primitiveN… in createBufferData()
417 indices.push_back(primitiveNdx * 3 + vertexNdx); in createBufferData()
427 for (int vertexNdx = 0; vertexNdx < 3; vertexNdx++) in createBufferData() local
431 …tcu::Vec4(originX + float(vertexNdx / 2) * primitiveSizeX, originY + float(vertexNdx % 2) * primit… in createBufferData()
436 indices.push_back(vertexNdx); in createBufferData()
500 for (int vertexNdx = 0; vertexNdx < 2; vertexNdx++) in createBufferData() local
[all …]
DvktPipelineVertexUtil.cpp875 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in createQuadMosaicCube() local
877 vertexItr->texCoord.xyz() = texCoordsCube[texCoordCubeIndices[quadNdx][vertexNdx]]; in createQuadMosaicCube()
892 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in createQuadMosaicCubeArray() local
918 for (size_t vertexNdx = 0; vertexNdx < 6; vertexNdx++) in createTestQuadMosaic() local
919 vertices[quadNdx * 6 + vertexNdx].texCoord.y() = (float)quadNdx; in createTestQuadMosaic()
931 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createTestQuadMosaic() local
933 vertices[vertexNdx].texCoord.z() /= 5.0f; in createTestQuadMosaic()
934 …vertices[vertexNdx].texCoord.z() -= 0.001f; // Substract small value to correct floating-point err… in createTestQuadMosaic()
DvktPipelineSamplerTests.cpp517 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createVertices() local
518 vertices[vertexNdx].texCoord.x() = (vertices[vertexNdx].texCoord.x() - 0.5f) * 4.0f; in createVertices()
524 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createVertices() local
525 …vertices[vertexNdx].texCoord.xy() = (vertices[vertexNdx].texCoord.swizzle(0, 1) - tcu::Vec2(0.5f))… in createVertices()
530 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createVertices() local
531 …vertices[vertexNdx].texCoord.xyz() = (vertices[vertexNdx].texCoord.swizzle(0, 1, 2) - tcu::Vec3(0.… in createVertices()
DvktPipelineReferenceRenderer.cpp263 for (size_t vertexNdx = 0; vertexNdx < vertexBuffer.size(); vertexNdx++) in draw() local
265 const Vertex4RGBA& v = vertexBuffer[vertexNdx]; in draw()
295 for (size_t vertexNdx = 0; vertexNdx < vertexBuffer.size(); vertexNdx++) in draw() local
297 const Vertex4Tex4& v = vertexBuffer[vertexNdx]; in draw()
DvktPipelineStencilTests.cpp767 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in StencilTestInstance() local
768 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; in StencilTestInstance()
936 for (size_t vertexNdx = 0; vertexNdx < cwVertices.size() - 2; vertexNdx += 3) in verifyImage() local
938 const Vertex4RGBA cwVertex1 = cwVertices[vertexNdx + 1]; in verifyImage()
940 cwVertices[vertexNdx + 1] = cwVertices[vertexNdx + 2]; in verifyImage()
941 cwVertices[vertexNdx + 2] = cwVertex1; in verifyImage()
DvktPipelineReferenceRenderer.hpp70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
105 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
106 readVertexAttrib(texCoord, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
DvktPipelinePushConstantTests.cpp1253 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in verifyImage() local
1255 m_vertices[vertexNdx].color.xyzw() = tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f); in verifyImage()
1262 for (size_t vertexNdx = 0; vertexNdx < 3; vertexNdx++) in verifyImage() local
1264 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 1.0f, 0.0f); in verifyImage()
1266 for (size_t vertexNdx = 3; vertexNdx < m_vertices.size(); vertexNdx++) in verifyImage() local
1268 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 0.0f, 1.0f); in verifyImage()
DvktPipelineBlendTests.cpp674 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in BlendTestInstance() local
675 …m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.l… in BlendTestInstance()
DvktPipelineDepthTests.cpp689 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in DepthTestInstance() local
690 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; in DepthTestInstance()
DvktPipelineVertexInputTests.cpp1165 for (deUint32 vertexNdx = 0; vertexNdx < vertexCount; vertexNdx++) in writeVertexInputData() local
1174 writeVertexInputValue(destOffsetPtr + attribDesc.vkDescription.offset, attribDesc, vertexNdx); in writeVertexInputData()
/external/deqp/modules/gles3/functional/
Des3fFboTestUtil.cpp117 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
202 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
203 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
366 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
367 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
517 …tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).x… in shadeVertices()
520 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
627 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
628 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
735 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
[all …]
Des3fPolygonOffsetTests.cpp236 …osition = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
239 …LOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
531 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) in testPolygonOffset() local
532 triangle[vertexNdx] = genRandomVec4(rnd); in testPolygonOffset()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUserDefinedIO.cpp948 for (int vertexNdx = 0; vertexNdx < numVertices; ++vertexNdx) in iterate() local
949 if (vertices[vertexNdx] > numTEInputs) in iterate()
952 << "Failure: out_te_firstFailedInputIndex has value " << vertices[vertexNdx] in iterate()
957 else if (vertices[vertexNdx] != numTEInputs) in iterate()
960 …<< basicSubobjectAtIndex(vertices[vertexNdx], m_tesInputs, topLevelArraySize) << " failed" << tcu:… in iterate()
/external/deqp/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp127 for (int vertexNdx = 0; vertexNdx < numVerticesPerPrimitive; ++vertexNdx) in genVertices() local
129 const float p = (*dst)[primitiveNdx * numVerticesPerPrimitive + vertexNdx][component]; in genVertices()
Des31fFboTestUtil.cpp209 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
210 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
371 …u::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).xy(); in shadeVertices()
374 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des31fGeometryShaderTests.cpp229 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
231 …puts[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
336 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
338 …puts[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
462 …4 color = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
464 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
718 for (int vertexNdx = 0; vertexNdx < 3; ++vertexNdx) in genProgramDeclaration() local
724 …"\tgl_Position = vec4(" << ((vertexNdx==0) ? ("0.0, 0.0") : ((vertexNdx==1) ? ("1.0, 0.0") : ("1.0… in genProgramDeclaration()
736 geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "];\n"; in genProgramDeclaration()
740 …geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "] * 0.5 + v_geom_1[" << vertexNdx <<… in genProgramDeclaration()
[all …]
Des31fSeparateShaderTests.cpp464 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(s_quadrants); ++vertexNdx) in genVtxShaderSrc() local
470 printFloat(oss, s_quadrants[vertexNdx][componentNdx] * rnd.getInt(4,16) / 16.0); in genVtxShaderSrc()
474 oss << ")" << (vertexNdx < 2 ? "," : "") << "\n"; in genVtxShaderSrc()
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp233 …osition = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
236 …LOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
528 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) in testPolygonOffset() local
529 triangle[vertexNdx] = genRandomVec4(rnd); in testPolygonOffset()
Des2fTextureSpecificationTests.cpp143 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
144 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
203 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
204 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
285 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
286 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp143 static void setVertex (const glu::VertexArrayPointer& pointer, int vertexNdx, const tcu::Vector<flo… in setVertex() argument
148 DE_ASSERT(de::inBounds(vertexNdx, 0, pointer.numElements)); in setVertex()
150 float* dst = (float*)((deUint8*)pointer.data + pointer.stride*vertexNdx); in setVertex()
DglsVertexArrayTests.cpp844 …rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
845 … rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
846 …rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
1405 for (int vertexNdx = 0; vertexNdx < count; vertexNdx++) in generateArray() local
1409 …setData(&(data[vertexNdx * stride + Array::inputTypeSize(type) * componentNdx]), type, rnd, min, m… in generateArray()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp164 …:Vec4 position = rr::readVertexAttribFloat(inputs[0], instanceNdx, packets[packetNdx]->vertexNdx); in shadeVertices()
165 …u::Vec4 color = rr::readVertexAttribFloat(inputs[1], instanceNdx, packets[packetNdx]->vertexNdx); in shadeVertices()
166 …::Vec4 color2 = rr::readVertexAttribFloat(inputs[2], instanceNdx, packets[packetNdx]->vertexNdx); in shadeVertices()

12