Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp974 for (deUint32 rowNdx = 0; rowNdx < m_renderSize.y(); rowNdx++) in validateDepthBuffer() local
979 float expectedValue = (float)(rowNdx * m_renderSize.x() + colNdx)/256.0f * multiplier; in validateDepthBuffer()
986 … const float actualValue = validationBuffer.getPixel(sampleNdx + m_samples * colNdx, rowNdx).x(); in validateDepthBuffer()
987 const float markerValue = markerBuffer.getPixel(sampleNdx + m_samples * colNdx, rowNdx).x(); in validateDepthBuffer()
993 …log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx <<… in validateDepthBuffer()
1001 …log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx <<… in validateDepthBuffer()
1371 for (deInt32 rowNdx = 0; rowNdx < (deInt32)m_renderSize.y(); rowNdx++) in validateSampleLocations() local
1382 const UVec2 pixelAddress = UVec2(sampleNdx + m_sampleCount * colNdx, rowNdx); in validateSampleLocations()
1387 …log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .z component… in validateSampleLocations()
1393 …log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .w component… in validateSampleLocations()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp974 for (deUint32 rowNdx = 0; rowNdx < m_renderSize.y(); rowNdx++) in validateDepthBuffer() local
979 float expectedValue = (float)(rowNdx * m_renderSize.x() + colNdx)/256.0f * multiplier; in validateDepthBuffer()
986 … const float actualValue = validationBuffer.getPixel(sampleNdx + m_samples * colNdx, rowNdx).x(); in validateDepthBuffer()
987 const float markerValue = markerBuffer.getPixel(sampleNdx + m_samples * colNdx, rowNdx).x(); in validateDepthBuffer()
993 …log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx <<… in validateDepthBuffer()
1001 …log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx <<… in validateDepthBuffer()
1371 for (deInt32 rowNdx = 0; rowNdx < (deInt32)m_renderSize.y(); rowNdx++) in validateSampleLocations() local
1382 const UVec2 pixelAddress = UVec2(sampleNdx + m_sampleCount * colNdx, rowNdx); in validateSampleLocations()
1387 …log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .z component… in validateSampleLocations()
1393 …log << TestLog::Message << "Pixel (" << colNdx << "," << rowNdx << "): has unexpected .w component… in validateSampleLocations()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp425 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in init() local
427 int numVertices = rowNdx + 1; in init()
432 float fy = -0.9f + 1.8f * ((float)rowNdx + (i%3 == 0 ? 0.0f : 0.8f)) / numRows; in init()
440 if (rowNdx < numRows - 1) // Add a restart after all but last row. in init()
Des3fTextureUnitTests.cpp188 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp798 for (int rowNdx = 0; rowNdx < componentCount; rowNdx++) in getGlslAttributeConditions() local
801 orderNdx = ABGROrder[rowNdx]; in getGlslAttributeConditions()
803 orderNdx = ARGBOrder[rowNdx]; in getGlslAttributeConditions()
805 orderNdx = BGROrder[rowNdx]; in getGlslAttributeConditions()
816 accessStream << "[" << rowNdx << "]"; in getGlslAttributeConditions()
820 accessStream << "[" << columnNdx << "][" << rowNdx << "]"; in getGlslAttributeConditions()
853 …float(" << indexId << ") + " << componentIndex << ".0))) < double(" << threshold[rowNdx] << "))\n"; in getGlslAttributeConditions()
857 …< ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
870 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
881 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
[all …]
DvktPipelineVertexUtil.cpp1079 for (int rowNdx = 0; rowNdx < rows; rowNdx++) in createQuadMosaic() local
1085 Vec4(-1.0f + (float)columnNdx * columnSize, -1.0f + (float)rowNdx * rowSize, 0.0f, 1.0f), in createQuadMosaic()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp798 for (int rowNdx = 0; rowNdx < componentCount; rowNdx++) in getGlslAttributeConditions() local
801 orderNdx = ABGROrder[rowNdx]; in getGlslAttributeConditions()
803 orderNdx = ARGBOrder[rowNdx]; in getGlslAttributeConditions()
805 orderNdx = BGROrder[rowNdx]; in getGlslAttributeConditions()
816 accessStream << "[" << rowNdx << "]"; in getGlslAttributeConditions()
820 accessStream << "[" << columnNdx << "][" << rowNdx << "]"; in getGlslAttributeConditions()
853 …float(" << indexId << ") + " << componentIndex << ".0))) < double(" << threshold[rowNdx] << "))\n"; in getGlslAttributeConditions()
857 …< ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
870 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
881 …<< ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; in getGlslAttributeConditions()
[all …]
DvktPipelineVertexUtil.cpp1079 for (int rowNdx = 0; rowNdx < rows; rowNdx++) in createQuadMosaic() local
1085 Vec4(-1.0f + (float)columnNdx * columnSize, -1.0f + (float)rowNdx * rowSize, 0.0f, 1.0f), in createQuadMosaic()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1030 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() local
1032 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
1033 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc()
1541 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() local
1543 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyBufferVarData()
1544 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1545 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyBufferVarData()
1546 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1753 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in compareBufferVarData() local
1755 …deUint8* resCompPtr = resElemPtr + (resEntry.isRowMajor ? rowNdx*resEntry.matrixStride + colNdx*c… in compareBufferVarData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1030 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() local
1032 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
1033 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc()
1541 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() local
1543 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyBufferVarData()
1544 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1545 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyBufferVarData()
1546 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1753 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in compareBufferVarData() local
1755 …deUint8* resCompPtr = resElemPtr + (resEntry.isRowMajor ? rowNdx*resEntry.matrixStride + colNdx*c… in compareBufferVarData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp1226 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local
1228 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc()
1233 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
1290 for (int rowNdx = 0; rowNdx < rowCount; rowNdx++) in writeMatrixTypeSrc() local
1298 if (rowNdx < rowCount-1) in writeMatrixTypeSrc()
1317 for (int rowNdx = 0; rowNdx < rowCount; rowNdx++) in writeMatrixTypeSrc() local
1319 src << "\t" << srcName << "[" << colNdx << "][" << rowNdx << "] = "; in writeMatrixTypeSrc()
1324 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in writeMatrixTypeSrc()
1334 src << "[" << colNdx << "][" << rowNdx << "];\n"; in writeMatrixTypeSrc()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp1226 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local
1228 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc()
1233 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
1290 for (int rowNdx = 0; rowNdx < rowCount; rowNdx++) in writeMatrixTypeSrc() local
1298 if (rowNdx < rowCount-1) in writeMatrixTypeSrc()
1317 for (int rowNdx = 0; rowNdx < rowCount; rowNdx++) in writeMatrixTypeSrc() local
1319 src << "\t" << srcName << "[" << colNdx << "][" << rowNdx << "] = "; in writeMatrixTypeSrc()
1324 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in writeMatrixTypeSrc()
1334 src << "[" << colNdx << "][" << rowNdx << "];\n"; in writeMatrixTypeSrc()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp987 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() local
989 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
990 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc()
992 if (colNdx > 0 || rowNdx > 0) in generateImmMatrixSrc()
1520 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() local
1522 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyBufferVarData()
1523 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1524 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyBufferVarData()
1525 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData()
1731 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in compareBufferVarData() local
[all …]
/third_party/vk-gl-cts/modules/gles2/scripts/
Dgenutil.py610 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
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp878 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local
880 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx * entry.matrixStride + colNdx * comp… in generateValueSrc()
881 colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc()
883 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
1236 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyUniformData() local
1239 dstElemPtr + (dstEntry.isRowMajor ? rowNdx * dstEntry.matrixStride + colNdx * compSize : in copyUniformData()
1240 colNdx * dstEntry.matrixStride + rowNdx * compSize); in copyUniformData()
1242 srcElemPtr + (srcEntry.isRowMajor ? rowNdx * srcEntry.matrixStride + colNdx * compSize : in copyUniformData()
1243 colNdx * srcEntry.matrixStride + rowNdx * compSize); in copyUniformData()
DglcShaderLibraryCase.cpp1036 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in dumpValues() local
1042 float v = val.elements[elemNdx * scalarSize + rowNdx * numCols + colNdx].float32; in dumpValues()
/third_party/vk-gl-cts/modules/glshared/
DglsUniformBlockCase.cpp966 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() local
968 … const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx*entry.matrixStride + colNdx*compSize in generateValueSrc()
969 : colNdx*entry.matrixStride + rowNdx*compSize); in generateValueSrc()
971 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
1293 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyUniformData() local
1295 …deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*c… in copyUniformData()
1296 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyUniformData()
1297 …const deUint8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + col… in copyUniformData()
1298 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyUniformData()
/third_party/vk-gl-cts/framework/common/
DtcuMatrix.hpp58 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()
/third_party/vk-gl-cts/modules/gles3/scripts/
Dgenutil.py757 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
/third_party/vk-gl-cts/modules/gles31/scripts/
Dgenutil.py759 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
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp16754 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in getComponentMatrixValidityMask() local
16757 const size_t bitNdx = getNdx(rows, colNdx, rowNdx); in getComponentMatrixValidityMask()
16794 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
16796 output[rowNdx * alignedCols + colNdx] = in[0][colNdx * alignedRows + rowNdx]; in calc()
16836 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
16839 const size_t ndx (colNdx * alignedRows + rowNdx); in calc()
16892 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
16894 const fp16type v (in[0][rowNdx]); in calc()
16896 const size_t ndx (colNdx * alignedRows + rowNdx); in calc()
16915 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp16754 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in getComponentMatrixValidityMask() local
16757 const size_t bitNdx = getNdx(rows, colNdx, rowNdx); in getComponentMatrixValidityMask()
16794 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
16796 output[rowNdx * alignedCols + colNdx] = in[0][colNdx * alignedRows + rowNdx]; in calc()
16836 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
16839 const size_t ndx (colNdx * alignedRows + rowNdx); in calc()
16892 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
16894 const fp16type v (in[0][rowNdx]); in calc()
16896 const size_t ndx (colNdx * alignedRows + rowNdx); in calc()
16915 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) in calc() local
[all …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
DvktRasterizationTests.cpp2784 for (int rowNdx = 0; rowNdx < 3; ++rowNdx) in generateDegenerateTriangles() local
2788 const float offsetY = -1.0f + float(4 * (rowNdx + 1)) * pixelSize; in generateDegenerateTriangles()
2793 const bool luPresent = (rowNdx & 1) == 0; in generateDegenerateTriangles()
2794 const bool rdPresent = (rowNdx & 2) == 0; in generateDegenerateTriangles()
3048 for (int rowNdx = 0; rowNdx < 3; ++rowNdx) in compareAndVerifyOverestimatedDegenerate() local
3051 referenceImage.setPixel(4 * (colNdx + 1), 4 * (rowNdx + 1), foregroundColor); in compareAndVerifyOverestimatedDegenerate()
3055 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1) - 1) == foregroundColor) in compareAndVerifyOverestimatedDegenerate()
3056 referenceImage.setPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1) - 1, foregroundColor); in compareAndVerifyOverestimatedDegenerate()
3057 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1)) == foregroundColor) in compareAndVerifyOverestimatedDegenerate()
3058 referenceImage.setPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1), foregroundColor); in compareAndVerifyOverestimatedDegenerate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp2784 for (int rowNdx = 0; rowNdx < 3; ++rowNdx) in generateDegenerateTriangles() local
2788 const float offsetY = -1.0f + float(4 * (rowNdx + 1)) * pixelSize; in generateDegenerateTriangles()
2793 const bool luPresent = (rowNdx & 1) == 0; in generateDegenerateTriangles()
2794 const bool rdPresent = (rowNdx & 2) == 0; in generateDegenerateTriangles()
3048 for (int rowNdx = 0; rowNdx < 3; ++rowNdx) in compareAndVerifyOverestimatedDegenerate() local
3051 referenceImage.setPixel(4 * (colNdx + 1), 4 * (rowNdx + 1), foregroundColor); in compareAndVerifyOverestimatedDegenerate()
3055 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1) - 1) == foregroundColor) in compareAndVerifyOverestimatedDegenerate()
3056 referenceImage.setPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1) - 1, foregroundColor); in compareAndVerifyOverestimatedDegenerate()
3057 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1)) == foregroundColor) in compareAndVerifyOverestimatedDegenerate()
3058 referenceImage.setPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1), foregroundColor); in compareAndVerifyOverestimatedDegenerate()
[all …]

12