/external/deqp/modules/gles31/functional/ |
D | es31fComputeShaderBuiltinVarTests.cpp | 177 static inline UVec3 readResultVec (const deUint32* ptr, int numComps) in readResultVec() argument 180 for (int ndx = 0; ndx < numComps; ndx++) in readResultVec() 185 static inline bool compareComps (const UVec3& a, const UVec3& b, int numComps) in compareComps() argument 187 DE_ASSERT(numComps == 1 || numComps == 3); in compareComps() 188 return numComps == 3 ? tcu::allEqual(a, b) : a.x() == b.x(); in compareComps() 194 int numComps; member 196 LogComps (const UVec3& v_, int numComps_) : v(v_), numComps(numComps_) {} in LogComps() 201 DE_ASSERT(c.numComps == 1 || c.numComps == 3); in operator <<() 202 return c.numComps == 3 ? str << c.v : str << c.v.x(); in operator <<()
|
D | es31fSSBOLayoutCase.cpp | 1633 bool compareComponents (glu::DataType scalarType, const void* ref, const void* res, int numComps) in compareComponents() argument 1639 for (int ndx = 0; ndx < numComps; ndx++) in compareComponents() 1650 for (int ndx = 0; ndx < numComps; ndx++) in compareComponents() 1663 for (int ndx = 0; ndx < numComps; ndx++) in compareComponents() 2545 …const int numComps = isMatrix ? (var.isRowMajor ? glu::getDataTypeMatrixNumColumns(var.type) … in checkLayoutBounds() local 2551 const int vecSize = numComps*compSize; in checkLayoutBounds()
|
D | es31fTessellationTests.cpp | 5048 const int numComps = m_primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 2; in iterate() local 5050 for (int compNdx = 0; compNdx < numComps; compNdx++) in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderDerivateTests.cpp | 346 int numComps; member 350 , numComps (numComps_) in LogVecComps() 357 DE_ASSERT(de::inRange(v.numComps, 1, 4)); in operator <<() 358 if (v.numComps == 1) return str << v.v[0]; in operator <<() 359 else if (v.numComps == 2) return str << v.v.toWidth<2>(); in operator <<() 360 else if (v.numComps == 3) return str << v.v.toWidth<3>(); in operator <<() 382 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate() local 387 … << "Expecting " << LogVecComps(reference, numComps) << " with threshold " << LogVecComps(threshol… in verifyConstantDerivate() 399 log << TestLog::Message << "FAIL: got " << LogVecComps(resDerivate, numComps) in verifyConstantDerivate() 400 << ", diff = " << LogVecComps(tcu::abs(reference - resDerivate), numComps) in verifyConstantDerivate() [all …]
|
D | es3fTransformFeedbackTests.cpp | 530 int numComps = glu::getDataTypeScalarSize(attrib.type.getBasicType()); in genAttributeData() local 534 for (int compNdx = 0; compNdx < numComps; compNdx++) in genAttributeData() 1461 int numComps = glu::getDataTypeScalarSize(type); in init() local 1462 int maxArrayLen = de::max(1, isSeparateMode ? 4/numComps : maxVecs/numVecs); in init()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 54 const int numComps = varType.getNumElements(); in mapToBasicType() local 56 DE_ASSERT(de::inRange(numComps, 1, 4)); in mapToBasicType() 57 return glu::DataType(scalarType + numComps - 1); in mapToBasicType()
|
D | glsShaderExecUtil.cpp | 671 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput() local 684 DE_ASSERT(de::inRange<int>(numComps, 1, DE_LENGTH_OF_ARRAY(channelOrderMap))); in getRenderbufferFormatForOutput() 686 return tcu::TextureFormat(channelOrderMap[numComps-1], channelType); in getRenderbufferFormatForOutput() 1002 const int numComps = scalarSize / numVecs; in copyToBuffer() local 1008 const int srcOffset = sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyToBuffer() 1013 deMemcpy(dstPtr, srcPtr, sizeof(deUint32)*numComps); in copyToBuffer() 1029 const int numComps = scalarSize / numVecs; in copyFromBuffer() local 1036 const int dstOffset = sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyFromBuffer() 1040 deMemcpy(dstPtr, srcPtr, sizeof(deUint32)*numComps); in copyFromBuffer()
|
D | glsFragOpInteractionCase.cpp | 90 const int numComps = type.getNumElements(); in computeVertexLayout() local 94 …layout->push_back(glu::va::Float(var->getName(), numComps, numVertices, 0 /* computed later */, (c… in computeVertexLayout() 96 curOffset += numComps * (int)sizeof(float); in computeVertexLayout()
|
D | glsTextureTestUtil.cpp | 1285 int numComps = 0; in renderQuad() local 1288 numComps = 2; in renderQuad() 1301 numComps = 1; in renderQuad() 1314 numComps = 3; in renderQuad() 1327 numComps = 3; in renderQuad() 1341 numComps = 3; in renderQuad() 1356 numComps = 4; in renderQuad() 1371 numComps = 2; in renderQuad() 1384 numComps = 1; in renderQuad() 1442 glu::va::Float("a_texCoord", numComps, 4, 0, texCoord) in renderQuad()
|
D | glsUniformBlockCase.cpp | 1838 …int numComps = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumColumns(uniform.ty… in checkLayoutBounds() local 1841 int vecSize = numComps*compSize; in checkLayoutBounds()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1284 unsigned numComps, unsigned numExprs) { in CreateEmpty() argument 1286 sizeof(OffsetOfNode) * numComps + in CreateEmpty() 1288 return new (Mem) OffsetOfExpr(numComps, numExprs); in CreateEmpty()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1882 explicit OffsetOfExpr(unsigned numComps, unsigned numExprs) in OffsetOfExpr() argument 1884 TSInfo(nullptr), NumComps(numComps), NumExprs(numExprs) {} in OffsetOfExpr()
|