Home
last modified time | relevance | path

Searched refs:vtxNdx (Results 1 – 19 of 19) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp809 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
813 << "\t" << outData[vtxNdx] in generateTriangles()
878 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
882 << "\t" << outData[vtxNdx] in generateTriangles()
1008 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1012 << "\t" << outData[vtxNdx] in generateLines()
1071 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1075 << "\t" << outData[vtxNdx] in generateLines()
1433 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
1435 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
[all …]
Des2fBufferTestUtil.cpp362 static inline tcu::Vec4 fetchVtxColor (const deUint8* ptr, int vtxNdx) in fetchVtxColor() argument
364 return tcu::RGBA(*(ptr + vtxNdx*3 + 0), in fetchVtxColor()
365 *(ptr + vtxNdx*3 + 1), in fetchVtxColor()
366 *(ptr + vtxNdx*3 + 2), in fetchVtxColor()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp958 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
962 << "\t" << outData[vtxNdx] in generateTriangles()
1027 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
1031 << "\t" << outData[vtxNdx] in generateTriangles()
1157 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1161 << "\t" << outData[vtxNdx] in generateLines()
1220 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1224 << "\t" << outData[vtxNdx] in generateLines()
1582 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
1584 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
[all …]
Des3fShaderBuiltinVarTests.cpp845 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx += 3) in init() local
850 const int triNdx = vtxNdx/3; in init()
860 m_positions[vtxNdx+0] = tcu::Vec4(x0, y0, 0.0f, 1.0f); in init()
861 m_positions[vtxNdx+1] = tcu::Vec4(x0+w, y0+h, 0.0f, 1.0f); in init()
862 m_positions[vtxNdx+2] = tcu::Vec4(x0, y0+h, 0.0f, 1.0f); in init()
866 m_positions[vtxNdx+0] = tcu::Vec4(x0+w, y0+h, 0.0f, 1.0f); in init()
867 m_positions[vtxNdx+1] = tcu::Vec4(x0, y0, 0.0f, 1.0f); in init()
868 m_positions[vtxNdx+2] = tcu::Vec4(x0+w, y0, 0.0f, 1.0f); in init()
Des3fTransformFeedbackTests.cpp695 int vtxNdx = outNdx%3; in getAttributeIndex() local
696 return (triNdx%2 != 0 && vtxNdx < 2) ? (triNdx+1-vtxNdx) : (triNdx+vtxNdx); in getAttributeIndex()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp1348 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
1352 << "\t" << outData[vtxNdx] in generateTriangles()
1414 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
1418 << "\t" << outData[vtxNdx] in generateTriangles()
1555 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1559 << "\t" << outData[vtxNdx] in generateLines()
1982 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
1984 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1985 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1986 outData[vtxNdx].z() = 0.0f; in generateVertices()
[all …]
/external/deqp/framework/randomshaders/
DrsgProgramExecutor.cpp50 ValueAccess getValue (const VariableType& type, int vtxNdx);
51 ConstValueAccess getValue (const VariableType& type, int vtxNdx) const;
62 ValueAccess VaryingStorage::getValue (const VariableType& type, int vtxNdx) in getValue() argument
64 return ValueAccess(type, &m_value[type.getScalarSize()*vtxNdx]); in getValue()
67 ConstValueAccess VaryingStorage::getValue (const VariableType& type, int vtxNdx) const in getValue()
69 return ConstValueAccess(type, &m_value[type.getScalarSize()*vtxNdx]); in getValue()
243 for (int vtxNdx = packetStart; vtxNdx < packetEnd; vtxNdx++) in execute() local
245 int y = (vtxNdx/gridVtxWidth); in execute()
246 int x = vtxNdx - y*gridVtxWidth; in execute()
250 interpolateVertexInput(access, vtxNdx-packetStart, input->getValueRange(), xf, yf); in execute()
[all …]
/external/deqp/modules/gles3/stress/
Des3sOcclusionQueryTests.cpp188 int vtxNdx = m_rnd.getInt(0, NUM_GENERATED_VERTICES-1); in iterate() local
189 occluderVertices[4*i ] = vertices[4*vtxNdx]; in iterate()
190 occluderVertices[4*i + 1] = vertices[4*vtxNdx + 1]; in iterate()
191 occluderVertices[4*i + 2] = vertices[4*vtxNdx + 2]; in iterate()
192 occluderVertices[4*i + 3] = vertices[4*vtxNdx + 3]; in iterate()
199 int vtxNdx = m_rnd.getInt(0, NUM_GENERATED_VERTICES-1); in iterate() local
200 targetVertices[4*i ] = vertices[4*vtxNdx]; in iterate()
201 targetVertices[4*i + 1] = vertices[4*vtxNdx + 1]; in iterate()
202 targetVertices[4*i + 2] = vertices[4*vtxNdx + 2]; in iterate()
203 targetVertices[4*i + 3] = vertices[4*vtxNdx + 3]; in iterate()
/external/deqp/modules/glshared/
DglsLongStressCase.cpp386 const int vtxNdx = (int)m_posBuf.size()/2; in addTextToBuffer() local
388 m_ndxBuf.push_back(deUint16(vtxNdx+0)); in addTextToBuffer()
389 m_ndxBuf.push_back(deUint16(vtxNdx+1)); in addTextToBuffer()
390 m_ndxBuf.push_back(deUint16(vtxNdx+2)); in addTextToBuffer()
392 m_ndxBuf.push_back(deUint16(vtxNdx+2)); in addTextToBuffer()
393 m_ndxBuf.push_back(deUint16(vtxNdx+1)); in addTextToBuffer()
394 m_ndxBuf.push_back(deUint16(vtxNdx+3)); in addTextToBuffer()
1009 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in generateRandomAttribData() local
1011 …data[vtxNdx*numComponents + compNdx] = rnd.getFloat(attrSpec.minValue.f[compNdx], attrSpec.maxValu… in generateRandomAttribData()
1019 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in generateRandomAttribData() local
[all …]
DglsFragOpInteractionCase.cpp547 for (int vtxNdx = 0; vtxNdx < 4; vtxNdx++) in iterate() local
549 const int fNdx = (attribNdx+vtxNdx+m_iterNdx)%DE_LENGTH_OF_ARRAY(vtxInterpFactors); in iterate()
554 …case 1: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<1>())); brea… in iterate()
555 …case 2: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<2>())); brea… in iterate()
556 …case 3: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<3>())); brea… in iterate()
557 …case 4: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<4>())); brea… in iterate()
DglsShaderRenderCase.cpp205 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid() local
207 m_positions[vtxNdx] = Vec4(fx, fy, 0.0f, 1.0f); in QuadGrid()
208 m_attribOne[vtxNdx] = 1.0f; in QuadGrid()
209 m_screenPos[vtxNdx] = Vec4(sx, sy, 0.0f, 1.0f) * viewportScale; in QuadGrid()
210 m_coords[vtxNdx] = getCoords(sx, sy); in QuadGrid()
211 m_unitCoords[vtxNdx] = getUnitCoords(sx, sy); in QuadGrid()
214 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); in QuadGrid()
652 int vtxNdx = ((y * (gridSize+1)) + x); in computeVertexReference() local
662 colors[vtxNdx] = color; in computeVertexReference()
DglsRandomShaderCase.cpp167 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in init() local
169 int y = vtxNdx / (m_gridWidth+1); in init()
170 int x = vtxNdx - y*(m_gridWidth+1); in init()
173 float* dst = &vtxArray.getVertices()[vtxNdx*numComponents]; in init()
DglsBufferTestUtil.cpp523 static inline tcu::Vec4 fetchVtxColor (const deUint8* ptr, int vtxNdx) in fetchVtxColor() argument
525 return tcu::RGBA(*(ptr + vtxNdx*3 + 0), in fetchVtxColor()
526 *(ptr + vtxNdx*3 + 1), in fetchVtxColor()
527 *(ptr + vtxNdx*3 + 2), in fetchVtxColor()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp250 int vtxNdx = ((y * (gridSize + 1)) + x); in QuadGrid() local
252 m_positions[vtxNdx] = Vec4(fx, fy, 0.0f, 1.0f); in QuadGrid()
253 m_attribOne[vtxNdx] = 1.0f; in QuadGrid()
254 m_screenPos[vtxNdx] = Vec4(sx, sy, 0.0f, 1.0f) * viewportScale; in QuadGrid()
255 m_coords[vtxNdx] = getCoords(sx, sy); in QuadGrid()
256 m_unitCoords[vtxNdx] = getUnitCoords(sx, sy); in QuadGrid()
259 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); in QuadGrid()
705 int vtxNdx = ((y * (gridSize + 1)) + x); in computeVertexReference() local
715 colors[vtxNdx] = color; in computeVertexReference()
/external/deqp/modules/internal/
DditFrameworkTests.cpp651 for (int vtxNdx = 0; vtxNdx < DE_LENGTH_OF_ARRAY(c.vtx); vtxNdx++) in ConstantInterpolationTest() local
653 c.vtx[vtxNdx].x() = rnd.getFloat()*2.0f - 1.0f; in ConstantInterpolationTest()
654 c.vtx[vtxNdx].y() = rnd.getFloat()*2.0f - 1.0f; in ConstantInterpolationTest()
655 c.vtx[vtxNdx].z() = depth; in ConstantInterpolationTest()
656 c.vtx[vtxNdx].w() = 1.0f; in ConstantInterpolationTest()
/external/deqp/modules/gles31/functional/
Des31fTessellationTests.cpp3798 for (int vtxNdx = 0; vtxNdx < (int)prim0Vertices.size(); vtxNdx++) in iterate() local
3800 if (prim0Vertices[vtxNdx] != prim1Vertices[vtxNdx]) in iterate()
3802 …log << TestLog::Message << "Failure: tessellation coordinate at index " << vtxNdx << " differs bet… in iterate()
3803 …Note: the coordinate is " << prim0Vertices[vtxNdx] << " for the first primitive and " << prim1Vert… in iterate()
3853 for (int vtxNdx = 0; vtxNdx < (int)coordsA.size(); vtxNdx++) in compare() local
3855 if (coordsA[vtxNdx] != coordsB[vtxNdx]) in compare()
3857 …) << TestLog::Message << "Failure: tessellation coordinate at index " << vtxNdx << " differs betwe… in compare()
3858 …ssage << "Note: the coordinate is " << coordsA[vtxNdx] << " for the first program and " << coordsB… in compare()
4098 for(int vtxNdx = numVerticesRead; vtxNdx < numVerticesRead + patchNumVertices; vtxNdx++) in iterate() local
4100 const Vec3& vtx = tfResult.varying[vtxNdx]; in iterate()
[all …]
Des31fPrimitiveBoundingBoxTests.cpp4083 for (int vtxNdx = 0; vtxNdx < 6; ++vtxNdx) in generateAttributeData() local
4084 data[ndx * 6 * 2 + 2*vtxNdx].z() = rnd.getFloat(0.0f, 1.0); in generateAttributeData()
4087 for (int vtxNdx = 0; vtxNdx < 6; ++vtxNdx) in generateAttributeData() local
4088 data[ndx * 6 * 2 + 2*vtxNdx].w() = rnd.getFloat(0.0f, 1.0); in generateAttributeData()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp223 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid() local
225 m_positions[vtxNdx] = tcu::Vec4(fx, fy, 0.0f, 1.0f); in QuadGrid()
226 m_coords[vtxNdx] = getCoords(sx, sy); in QuadGrid()
227 m_unitCoords[vtxNdx] = getUnitCoords(sx, sy); in QuadGrid()
228 m_attribOne[vtxNdx] = 1.0f; in QuadGrid()
230 m_screenPos[vtxNdx] = tcu::Vec4(sx, sy, 0.0f, 1.0f) * viewportScale; in QuadGrid()
233 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); in QuadGrid()
2332 const int vtxNdx = ((y * (gridSize+1)) + x); in computeVertexReference() local
2342 colors[vtxNdx] = color; in computeVertexReference()
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp2152 for (int vtxNdx = 0; vtxNdx < 3; ++vtxNdx) in calculateTriangleCoverage() local
2154 const int otherVtxNdx = (vtxNdx + 1) % 3; in calculateTriangleCoverage()
2156 …st I64Vec2 edge = triangleSubPixelSpaceRound[otherVtxNdx] - triangleSubPixelSpaceRound[vtxNdx]; in calculateTriangleCoverage()
2157 const I64Vec2 v = pixelCenterPosition - triangleSubPixelSpaceRound[vtxNdx]; in calculateTriangleCoverage()