Home
last modified time | relevance | path

Searched refs:rowNdx (Results 1 – 21 of 21) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp410 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in init() local
412 int numVertices = rowNdx + 1; in init()
417 float fy = -0.9f + 1.8f * ((float)rowNdx + (i%3 == 0 ? 0.0f : 0.8f)) / numRows; in init()
425 if (rowNdx < numRows - 1) // Add a restart after all but last row. in init()
Des3fTextureUnitTests.cpp187 for (int rowNdx = 0; rowNdx < 3; rowNdx++) in matExtend3To4() local
189 Vec3 row = mat.getRow(rowNdx); in matExtend3To4()
190 res.setRow(rowNdx, Vec4(row.x(), row.y(), row.z(), 0.0f)); in matExtend3To4()
Des3fShaderMatrixTests.cpp1344 for (int rowNdx = 0; rowNdx < Rows; rowNdx++) in writeMatrixConstructor() local
1346 if (rowNdx > 0 || colNdx > 0) in writeMatrixConstructor()
1348 str << de::floatToString(m(rowNdx, colNdx), 1); in writeMatrixConstructor()
Des3fShaderOperatorTests.cpp859 for (int rowNdx = 0; rowNdx < 4; rowNdx++) in setupShaderData() local
863 switch ((rowNdx + inputNdx) % 4) in setupShaderData()
872 attribMatrix.setRow(rowNdx, row); in setupShaderData()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp517 for (int rowNdx = 0; rowNdx < componentCount; rowNdx++) in getGlslAttributeConditions() local
528 accessStream << "[" << rowNdx << "]"; in getGlslAttributeConditions()
532 accessStream << "[" << columnNdx << "][" << rowNdx << "]"; in getGlslAttributeConditions()
550 …float(" << indexId << ") + " << componentIndex << ".0))) < double(" << threshold[rowNdx] << "))\n"; in getGlslAttributeConditions()
554 …< ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
559 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
563 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
569 …< ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
575 …< ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
DvktPipelineVertexUtil.cpp802 for (int rowNdx = 0; rowNdx < rows; rowNdx++) in createQuadMosaic() local
808 Vec4(-1.0f + (float)columnNdx * columnSize, -1.0f + (float)rowNdx * rowSize, 0.0f, 1.0f), in createQuadMosaic()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp907 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() local
909 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
910 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc()
912 if (colNdx > 0 || rowNdx > 0) in generateImmMatrixSrc()
1289 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() local
1291 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyBufferVarData()
1292 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1293 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyBufferVarData()
1294 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1500 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in compareBufferVarData() local
[all …]
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp992 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() local
994 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
995 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc()
997 if (colNdx > 0 || rowNdx > 0) in generateImmMatrixSrc()
1511 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() local
1513 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyBufferVarData()
1514 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1515 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyBufferVarData()
1516 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1722 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in compareBufferVarData() local
[all …]
/external/deqp/modules/gles2/scripts/
Dgenutil.py588 def get (self, colNdx, rowNdx): argument
590 assert 0 <= rowNdx and rowNdx < self.numRows
591 return self.scalars[colNdx*self.numRows + rowNdx]
593 def set (self, colNdx, rowNdx, scalar): argument
595 assert 0 <= rowNdx and rowNdx < self.numRows
596 self.scalars[colNdx*self.numRows + rowNdx] = scalar
/external/deqp/framework/common/
DtcuMatrix.hpp58 void setRow (int rowNdx, const Vector<T, Cols>& vec);
379 void Matrix<T, Rows, Cols>::setRow (int rowNdx, const Vector<T, Cols>& vec) in setRow() argument
382 (*this)(rowNdx, col) = vec.m_data[col]; in setRow()
392 Vector<T, Cols> Matrix<T, Rows, Cols>::getRow (int rowNdx) const in getRow()
396 res[col] = (*this)(rowNdx, col); in getRow()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp963 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local
965 … const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx*entry.matrixStride + colNdx*compSize in generateValueSrc()
966 : colNdx*entry.matrixStride + rowNdx*compSize); in generateValueSrc()
968 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
1290 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyUniformData() local
1292 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyUniformData()
1293 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyUniformData()
1294 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyUniformData()
1295 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyUniformData()
DglsBuiltinPrecisionTests.cpp3437 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in doApply() local
3440 ret(rowNdx, colNdx) = iargs.a(colNdx, rowNdx); in doApply()
4259 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in genRandom() local
4261 ret(rowNdx, colNdx) = instance<DefaultSampling<T> >().genRandom(fmt, prec, rnd); in genRandom()
/external/deqp/modules/gles31/scripts/
Dgenutil.py737 def get (self, colNdx, rowNdx): argument
739 assert 0 <= rowNdx and rowNdx < self.numRows
740 return self.scalars[colNdx*self.numRows + rowNdx]
742 def set (self, colNdx, rowNdx, scalar): argument
744 assert 0 <= rowNdx and rowNdx < self.numRows
745 self.scalars[colNdx*self.numRows + rowNdx] = scalar
/external/deqp/modules/gles3/scripts/
Dgenutil.py735 def get (self, colNdx, rowNdx): argument
737 assert 0 <= rowNdx and rowNdx < self.numRows
738 return self.scalars[colNdx*self.numRows + rowNdx]
740 def set (self, colNdx, rowNdx, scalar): argument
742 assert 0 <= rowNdx and rowNdx < self.numRows
743 self.scalars[colNdx*self.numRows + rowNdx] = scalar
/external/deqp/modules/gles2/functional/
Des2fShaderMatrixTests.cpp725 for (int rowNdx = 0; rowNdx < Rows; rowNdx++) in writeMatrixConstructor() local
727 if (rowNdx > 0 || colNdx > 0) in writeMatrixConstructor()
729 str << de::floatToString(m(rowNdx, colNdx), 1); in writeMatrixConstructor()
Des2fShaderOperatorTests.cpp578 for (int rowNdx = 0; rowNdx < 4; rowNdx++) in ShaderOperatorCase() local
582 switch ((rowNdx + inputNdx) % 4) in ShaderOperatorCase()
591 attribMatrix.setRow(rowNdx, row); in ShaderOperatorCase()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp909 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local
911 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? (rowNdx * entry.matrixStride + colNdx * com… in generateValueSrc()
912 : (colNdx * entry.matrixStride + rowNdx * compSize)); in generateValueSrc()
914 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp1709 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in dumpValue() local
1715 float v = val.elements[elemNdx*scalarSize + rowNdx*numCols + colNdx].float32; in dumpValue()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp1339 for (int rowNdx = 0; rowNdx < Rows; rowNdx++) in writeMatrixConstructor() local
1341 if (rowNdx > 0 || colNdx > 0) in writeMatrixConstructor()
1343 str << de::floatToString(m(rowNdx, colNdx), 1); in writeMatrixConstructor()
DvktShaderRenderOperatorTests.cpp584 for (int rowNdx = 0; rowNdx < 4; rowNdx++) in ShaderOperatorCaseInstance() local
588 switch ((rowNdx + inputNdx) % 4) in ShaderOperatorCaseInstance()
597 attribMatrix.setRow(rowNdx, row); in ShaderOperatorCaseInstance()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp3386 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in doApply() local
3389 ret(rowNdx, colNdx) = iargs.a(colNdx, rowNdx); in doApply()
4208 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in genRandom() local
4210 ret(rowNdx, colNdx) = instance<DefaultSampling<T> >().genRandom(fmt, prec, rnd); in genRandom()