/external/deqp/modules/gles3/functional/ |
D | es3fPrimitiveRestartTests.cpp | 410 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()
|
D | es3fTextureUnitTests.cpp | 188 for (int rowNdx = 0; rowNdx < 3; rowNdx++) in matExtend3To4() local 190 Vec3 row = mat.getRow(rowNdx); in matExtend3To4() 191 res.setRow(rowNdx, Vec4(row.x(), row.y(), row.z(), 0.0f)); in matExtend3To4()
|
D | es3fShaderMatrixTests.cpp | 1330 for (int rowNdx = 0; rowNdx < Rows; rowNdx++) in writeMatrixConstructor() local 1332 if (rowNdx > 0 || colNdx > 0) in writeMatrixConstructor() 1334 str << de::floatToString(m(rowNdx, colNdx), 1); in writeMatrixConstructor()
|
D | es3fShaderOperatorTests.cpp | 859 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/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 954 for (deUint32 rowNdx = 0; rowNdx < m_renderSize.y(); rowNdx++) in validateDepthBuffer() local 959 float expectedValue = (float)(rowNdx * m_renderSize.x() + colNdx)/256.0f * multiplier; in validateDepthBuffer() 966 … const float actualValue = validationBuffer.getPixel(sampleNdx + m_samples * colNdx, rowNdx).x(); in validateDepthBuffer() 967 const float markerValue = markerBuffer.getPixel(sampleNdx + m_samples * colNdx, rowNdx).x(); in validateDepthBuffer() 973 …log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx <<… in validateDepthBuffer() 981 …log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx <<… in validateDepthBuffer() 1334 for (deInt32 rowNdx = 0; rowNdx < (deInt32)m_renderSize.y(); rowNdx++) in validateSampleLocations() local 1342 const UVec2 pixelAddress = UVec2(sampleNdx + m_sampleCount * colNdx, rowNdx); in validateSampleLocations() 1354 …dx) || (sampleCeil.x() > colNdx + 1) || (sampleFloor.y() < rowNdx) || (sampleCeil.y() > rowNdx + 1… in validateSampleLocations() 1356 …log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): " << *sampleIt << TestLog::… in validateSampleLocations() [all …]
|
D | vktShaderRenderMatrixTests.cpp | 1325 for (int rowNdx = 0; rowNdx < Rows; rowNdx++) in writeMatrixConstructor() local 1327 if (rowNdx > 0 || colNdx > 0) in writeMatrixConstructor() 1329 str << de::floatToString(m(rowNdx, colNdx), 1); in writeMatrixConstructor()
|
D | vktShaderRenderOperatorTests.cpp | 585 for (int rowNdx = 0; rowNdx < 4; rowNdx++) in ShaderOperatorCaseInstance() local 589 switch ((rowNdx + inputNdx) % 4) in ShaderOperatorCaseInstance() 598 attribMatrix.setRow(rowNdx, row); in ShaderOperatorCaseInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1131 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() local 1133 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc() 1134 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc() 1136 if (colNdx > 0 || rowNdx > 0) in generateImmMatrixSrc() 1592 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() local 1594 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyBufferVarData() 1595 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1596 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyBufferVarData() 1597 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1804 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in compareBufferVarData() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineVertexInputTests.cpp | 776 for (int rowNdx = 0; rowNdx < componentCount; rowNdx++) in getGlslAttributeConditions() local 779 orderNdx = ABGROrder[rowNdx]; in getGlslAttributeConditions() 781 orderNdx = ARGBOrder[rowNdx]; in getGlslAttributeConditions() 783 orderNdx = BGROrder[rowNdx]; in getGlslAttributeConditions() 794 accessStream << "[" << rowNdx << "]"; in getGlslAttributeConditions() 798 accessStream << "[" << columnNdx << "][" << rowNdx << "]"; in getGlslAttributeConditions() 831 …float(" << indexId << ") + " << componentIndex << ".0))) < double(" << threshold[rowNdx] << "))\n"; in getGlslAttributeConditions() 835 …< ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions() 848 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions() 859 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions() [all …]
|
D | vktPipelineVertexUtil.cpp | 999 for (int rowNdx = 0; rowNdx < rows; rowNdx++) in createQuadMosaic() local 1005 Vec4(-1.0f + (float)columnNdx * columnSize, -1.0f + (float)rowNdx * rowSize, 0.0f, 1.0f), in createQuadMosaic()
|
/external/deqp/modules/gles2/scripts/ |
D | genutil.py | 610 def get (self, colNdx, rowNdx): argument 612 assert 0 <= rowNdx and rowNdx < self.numRows 613 return self.scalars[colNdx*self.numRows + rowNdx] 615 def set (self, colNdx, rowNdx, scalar): argument 617 assert 0 <= rowNdx and rowNdx < self.numRows 618 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 992 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() 1525 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() local 1527 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyBufferVarData() 1528 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1529 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyBufferVarData() 1530 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1736 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in compareBufferVarData() local [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 883 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local 885 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx * entry.matrixStride + colNdx * comp… in generateValueSrc() 886 colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc() 888 if (colNdx > 0 || rowNdx > 0) in generateValueSrc() 1241 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyUniformData() local 1244 dstElemPtr + (dstEntry.isRowMajor ? rowNdx * dstEntry.matrixStride + colNdx * compSize : in copyUniformData() 1245 colNdx * dstEntry.matrixStride + rowNdx * compSize); in copyUniformData() 1247 srcElemPtr + (srcEntry.isRowMajor ? rowNdx * srcEntry.matrixStride + colNdx * compSize : in copyUniformData() 1248 colNdx * srcEntry.matrixStride + rowNdx * compSize); in copyUniformData()
|
D | glcShaderLibraryCase.cpp | 1036 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in dumpValues() local 1042 float v = val.elements[elemNdx * scalarSize + rowNdx * numCols + colNdx].float32; in dumpValues()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 963 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()
|
D | glsBuiltinPrecisionTests.cpp | 3587 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in doApply() local 3590 ret(rowNdx, colNdx) = iargs.a(colNdx, rowNdx); in doApply() 4409 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in genRandom() local 4411 ret(rowNdx, colNdx) = instance<DefaultSampling<T> >().genRandom(fmt, prec, rnd); in genRandom()
|
/external/deqp/framework/common/ |
D | tcuMatrix.hpp | 58 void setRow (int rowNdx, const Vector<T, Cols>& vec); 385 void Matrix<T, Rows, Cols>::setRow (int rowNdx, const Vector<T, Cols>& vec) in setRow() argument 388 (*this)(rowNdx, col) = vec.m_data[col]; in setRow() 398 Vector<T, Cols> Matrix<T, Rows, Cols>::getRow (int rowNdx) const in getRow() 402 res[col] = (*this)(rowNdx, col); in getRow()
|
/external/deqp/modules/gles3/scripts/ |
D | genutil.py | 757 def get (self, colNdx, rowNdx): argument 759 assert 0 <= rowNdx and rowNdx < self.numRows 760 return self.scalars[colNdx*self.numRows + rowNdx] 762 def set (self, colNdx, rowNdx, scalar): argument 764 assert 0 <= rowNdx and rowNdx < self.numRows 765 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/external/deqp/modules/gles31/scripts/ |
D | genutil.py | 759 def get (self, colNdx, rowNdx): argument 761 assert 0 <= rowNdx and rowNdx < self.numRows 762 return self.scalars[colNdx*self.numRows + rowNdx] 764 def set (self, colNdx, rowNdx, scalar): argument 766 assert 0 <= rowNdx and rowNdx < self.numRows 767 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 14747 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in getComponentMatrixValidityMask() local 14750 const size_t bitNdx = getNdx(rows, colNdx, rowNdx); in getComponentMatrixValidityMask() 14787 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local 14789 output[rowNdx * alignedCols + colNdx] = in[0][colNdx * alignedRows + rowNdx]; in calc() 14829 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local 14832 const size_t ndx (colNdx * alignedRows + rowNdx); in calc() 14885 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local 14887 const fp16type v (in[0][rowNdx]); in calc() 14889 const size_t ndx (colNdx * alignedRows + rowNdx); in calc() 14908 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 725 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()
|
D | es2fShaderOperatorTests.cpp | 578 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/framework/opengl/ |
D | gluShaderLibrary.cpp | 1686 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in dumpValue() local 1692 float v = val.elements[elemNdx*scalarSize + rowNdx*numCols + colNdx].float32; in dumpValue()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1252 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local 1254 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? (rowNdx * entry.matrixStride + colNdx * com… in generateValueSrc() 1255 : (colNdx * entry.matrixStride + rowNdx * compSize)); in generateValueSrc() 1257 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 4491 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in doApply() local 4494 ret(rowNdx, colNdx) = iargs.a(colNdx, rowNdx); in doApply() 5698 for (int rowNdx = 0; rowNdx < Rows; ++rowNdx) in genRandom() local 5700 ret(rowNdx, colNdx) = instance<DefaultSampling<T> >().genRandom(fmt, prec, rnd, inputRange); in genRandom()
|