/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationPrimitiveDiscardTests.cpp | 114 const int numCols = intPow(numChoices, 6/2); // sqrt(numChoices**6) == sqrt(number of primitives) local 115 const int numRows = numCols; 130 const int col = index % numCols; 131 const int row = index / numCols; 133 result.push_back((float)2.0f / (float)numCols); 136 result.push_back((float)col / (float)numCols * 2.0f - 1.0f);
|
/external/deqp/framework/opengl/ |
H A D | gluShaderUtil.cpp | 741 DataType getDataTypeMatrix (int numCols, int numRows) argument 743 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4)); 744 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2));
|
H A D | gluShaderLibrary.cpp | 1709 int numCols = getDataTypeMatrixNumColumns(dataType); local 1713 for (int colNdx = 0; colNdx < numCols; colNdx++) 1716 float v = val.elements[elemNdx*scalarSize + rowNdx*numCols + colNdx].float32;
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fSeparateShaderTests.cpp | 127 const int numCols = rnd.getInt(2, 4), numRows = rnd.getInt(2, 4); local 129 return getDataTypeMatrix(numCols, numRows);
|
/external/eigen/Eigen/src/plugins/ |
H A D | BlockMethods.h | 705 /// \param numCols the number of columns in the block 715 inline ColsBlockXpr middleCols(Index startCol, Index numCols) argument 717 return ColsBlockXpr(derived(), 0, startCol, rows(), numCols); 722 inline ConstColsBlockXpr middleCols(Index startCol, Index numCols) const 724 return ConstColsBlockXpr(derived(), 0, startCol, rows(), numCols);
|
/external/skia/gm/ |
H A D | beziereffects.cpp | 147 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3))); variable 148 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); 149 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; 227 if (numCols == col) { 331 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); variable 332 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); 333 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; 403 if (numCols == col) { 540 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); variable 541 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); [all...] |
/external/skqp/gm/ |
H A D | beziereffects.cpp | 147 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3))); variable 148 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); 149 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; 227 if (numCols == col) { 331 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); variable 332 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); 333 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; 403 if (numCols == col) { 540 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); variable 541 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); [all...] |
/external/deqp/external/openglcts/modules/common/ |
H A D | glcShaderIndexingTests.cpp | 929 int numCols = getDataTypeMatrixNumColumns(varType); local 931 const char* matSizeName = getIntUniformName(numCols); 955 if (numCols >= 2) 957 if (numCols >= 3) 959 if (numCols >= 4) 986 if (numCols >= 2) 988 if (numCols >= 3) 990 if (numCols >= 4) 996 if (numCols >= 2) 998 if (numCols > 1005 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local 1045 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local [all...] |
H A D | glcShaderLibraryCase.cpp | 428 int numCols = getDataTypeMatrixNumColumns(dataType); local 430 DE_ASSERT(scalarSize == numCols * numRows); 432 for (int i = 0; i < numCols; i++) 1035 int numCols = getDataTypeMatrixNumColumns(dataType); local 1039 for (int colNdx = 0; colNdx < numCols; colNdx++) 1042 float v = val.elements[elemNdx * scalarSize + rowNdx * numCols + colNdx].float32;
|
H A D | glcShaderRenderCase.cpp | 617 int numCols; member in struct:deqp::__anon4098 631 int numCols = matrices[matNdx].numCols; local 633 for (int colNdx = 0; colNdx < numCols; colNdx++)
|
H A D | glcUniformBlockCase.cpp | 876 int numCols = glu::getDataTypeMatrixNumColumns(entry.type); local 881 for (int colNdx = 0; colNdx < numCols; colNdx++) 1237 int numCols = glu::getDataTypeMatrixNumColumns(dstEntry.type); local 1239 for (int colNdx = 0; colNdx < numCols; colNdx++)
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorMultiViewportTests.cpp | 390 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); local 391 const int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCols)); 392 const int rectWidth = renderSize.x() / numCols; 403 const bool nextRow = (scissorNdx != 0) && (scissorNdx % numCols == 0);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderIndexingTests.cpp | 888 int numCols = getDataTypeMatrixNumColumns(varType); local 890 const char* matSizeName = getIntUniformName(numCols); 914 if (numCols >= 2) op << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n"; 915 if (numCols >= 3) op << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n"; 916 if (numCols >= 4) op << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };\n"; 920 op << "layout(std140, binding = " << numCols << ") uniform something" << numCols << " { mediump int " << matSizeName << "; };\n"; 941 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; 942 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; 943 if (numCols > 954 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local 988 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local [all...] |
H A D | vktShaderRenderMatrixTests.cpp | 2060 int numCols = getDataTypeMatrixNumColumns(matType); local 2082 DataType colVecType = getDataTypeFloatVec(numCols); 2102 ShaderInput otherMatIn(inputType == INPUTTYPE_DYNAMIC ? INPUTTYPE_UNIFORM : inputType, getDataTypeMatrix(otherCols, numCols /* rows */), precision); 2118 ShaderInput vec2In((inputType == INPUTTYPE_DYNAMIC) ? (INPUTTYPE_UNIFORM) : (inputType), getDataTypeFloatVec(numCols), precision); 2125 (isOperationUnarySymmetricMatrix(op) && numCols == numRows)) 2133 (isOperationAssignmentSymmetricMatrix(op) && numCols == numRows))
|
H A D | vktShaderRenderTextureGatherTests.cpp | 169 const int numCols = dst.getWidth() >= 7 ? 7 : dst.getWidth(); local 175 for (int col = 0; col < numCols; col++) 179 const int xBegin = (col+0)*dst.getWidth()/numCols; 180 const int xEnd = (col+1)*dst.getWidth()/numCols;
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fPrimitiveRestartTests.cpp | 296 // Generate a numRows x numCols arrangement of line polygons of different vertex counts. 300 const int numCols = 4; local 306 for (int col = 0; col < numCols; col++) 308 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols; 309 int numVertices = row*numCols + col + 1; 313 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; 322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon. 363 // Generate a numRows x numCols arrangement of triangle fan polygons of different vertex counts. 367 const int numCols = 4; local 373 for (int col = 0; col < numCols; co [all...] |
H A D | es3fShaderIndexingTests.cpp | 809 int numCols = getDataTypeMatrixNumColumns(varType); local 811 const char* matSizeName = getIntUniformName(numCols); 835 if (numCols >= 2) op << ", ui_one"; 836 if (numCols >= 3) op << ", ui_two"; 837 if (numCols >= 4) op << ", ui_three"; 863 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; 864 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; 865 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; 870 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; 871 if (numCols > 876 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local 910 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local [all...] |
H A D | es3fInstancedRenderingTests.cpp | 496 int numCols = glu::getDataTypeMatrixNumColumns(m_rgbAttrType); local 498 glVertexAttribPointer(curLoc, numRows, GL_FLOAT, GL_FALSE, numCols*numRows*(int)sizeof(float), attrPtr);
|
H A D | es3fShaderMatrixTests.cpp | 1872 int numCols = getDataTypeMatrixNumColumns(matType); local 1894 DataType colVecType = getDataTypeFloatVec(numCols); 1914 ShaderInput otherMatIn(inputType == INPUTTYPE_DYNAMIC ? INPUTTYPE_UNIFORM : inputType, getDataTypeMatrix(otherCols, numCols /* rows */), precision); 1930 ShaderInput vec2In((inputType == INPUTTYPE_DYNAMIC) ? (INPUTTYPE_UNIFORM) : (inputType), getDataTypeFloatVec(numCols), precision); 1937 (isOperationUnarySymmetricMatrix(op) && numCols == numRows)) 1945 (isOperationAssignmentSymmetricMatrix(op) && numCols == numRows))
|
/external/icu/icu4c/source/common/ |
H A D | rbbitblb.cpp | 1091 int32_t numCols; local 1101 numCols = fRB->fSetBuilder->getNumCharCategories(); 1104 // Therefore we subtract two from numCols when determining 1106 rowSize = sizeof(RBBIStateTableRow) + sizeof(uint16_t)*(numCols-2);
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemShaderImageAccessTests.cpp | 460 const int numCols = dst.getWidth() >= 7 ? 7 : dst.getWidth(); local 466 for (int col = 0; col < numCols; col++) 470 const int xBegin = (col + 0)*dst.getWidth() / numCols; 471 const int xEnd = (col + 1)*dst.getWidth() / numCols;
|
/external/deqp/modules/glshared/ |
H A D | glsShaderExecUtil.cpp | 614 int numCols = glu::getDataTypeMatrixNumColumns(basicType); local 615 int stride = numRows * numCols * (int)sizeof(float); 617 for (int colNdx = 0; colNdx < numCols; ++colNdx)
|
H A D | glsShaderRenderCase.cpp | 560 int numCols; member in struct:deqp::gls::__anon5524 583 int numCols = matrices[matNdx].numCols; local 585 for (int colNdx = 0; colNdx < numCols; colNdx++)
|
H A D | glsUniformBlockCase.cpp | 956 int numCols = glu::getDataTypeMatrixNumColumns(entry.type); local 961 for (int colNdx = 0; colNdx < numCols; colNdx++) 1286 int numCols = glu::getDataTypeMatrixNumColumns(dstEntry.type); local 1288 for (int colNdx = 0; colNdx < numCols; colNdx++)
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 662 int numCols = glu::getDataTypeMatrixNumColumns(basicType); local 664 elementSize = numRows * numCols * (int)sizeof(float); 665 numAttrsToAdd = numCols;
|