Home
last modified time | relevance | path

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

12

/external/deqp/framework/referencerenderer/
DrrVertexAttrib.hpp131 …ib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
132 …b (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
133 …b (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
137 …eadVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttribFloat() argument
140 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribFloat()
144 … readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttribInt() argument
147 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribInt()
151 …readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) in readVertexAttribUint() argument
154 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/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()
Des3fDepthTests.cpp94 …::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx); in shadeVertices()
Des3fDrawTests.cpp619 …nstanceNdx, packets[ndx]->vertexNdx) + rr::readVertexAttribFloat(inputs[1], packets[ndx]->instance… in shadeVertices()
620 …puts[0] = rr::readVertexAttribFloat(inputs[2], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
Des3fShaderBuiltinVarTests.cpp913 …osition = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
916 …LOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des3fStencilTests.cpp97 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des3fTextureUnitTests.cpp614 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
615 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
/external/deqp/modules/gles31/functional/
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.cpp215 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
217 …puts[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
322 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
324 …puts[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
449 …4 color = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
451 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
705 for (int vertexNdx = 0; vertexNdx < 3; ++vertexNdx) in genProgramDeclaration() local
711 …"\tgl_Position = vec4(" << ((vertexNdx==0) ? ("0.0, 0.0") : ((vertexNdx==1) ? ("1.0, 0.0") : ("1.0… in genProgramDeclaration()
723 geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "];\n"; in genProgramDeclaration()
727 …geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "] * 0.5 + v_geom_1[" << vertexNdx <<… in genProgramDeclaration()
[all …]
Des31fSeparateShaderTests.cpp463 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(s_quadrants); ++vertexNdx) in genVtxShaderSrc() local
469 printFloat(oss, s_quadrants[vertexNdx][componentNdx] * rnd.getInt(4,16) / 16.0); in genVtxShaderSrc()
473 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()
204 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
205 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
286 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
287 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des2fDepthTests.cpp91 …::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx); in shadeVertices()
Des2fFboRenderTest.cpp96 …::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx); in shadeVertices()
152 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
153 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
215 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
216 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des2fTextureUnitTests.cpp458 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
459 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des2fStencilTests.cpp94 packet.position = rr::readVertexAttribFloat(inputs[0], 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.cpp876 …rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
877 … rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
878 …rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
1437 for (int vertexNdx = 0; vertexNdx < count; vertexNdx++) in generateArray() local
1441 …setData(&(data[vertexNdx * stride + Array::inputTypeSize(type) * componentNdx]), type, rnd, min, m… in generateArray()
DglsDrawTest.cpp1254 …rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numCo… in shadeVertices()
1255 … rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numCo… in shadeVertices()
1256 …rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numCo… in shadeVertices()
1684 for (int vertexNdx = 0; vertexNdx < elementCount; vertexNdx++) in createBasicArray() local
1693 …if (vertexNdx != 0 && abs(components[componentNdx] - previousComponents[componentNdx]) < minValue<… in createBasicArray()
1732 for (int vertexNdx = 0; vertexNdx < elementCount; vertexNdx++) in generatePackedArray() local
DglsRandomShaderProgram.cpp194 …attribValue = rr::readVertexAttribFloat(inputs[attribNdx], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
DglsTextureBufferCase.cpp176 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
203 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
/external/deqp/modules/egl/
DteglRenderTests.cpp226 …osition = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
229 …Loc_Color] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()

12