/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 976 for (deUint32 colNdx = 0; colNdx < m_renderSize.x(); colNdx++) 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() 1373 for (deInt32 colNdx = 0; colNdx < (deInt32)m_renderSize.x(); colNdx++) 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/ |
D | vktShaderRenderBuiltinVarTests.cpp | 976 for (deUint32 colNdx = 0; colNdx < m_renderSize.x(); colNdx++) 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() 1373 for (deInt32 colNdx = 0; colNdx < (deInt32)m_renderSize.x(); colNdx++) 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/framework/common/ |
D | tcuMatrix.hpp | 59 void setColumn (int colNdx, const Vector<T, Rows>& vec); 392 void Matrix<T, Rows, Cols>::setColumn (int colNdx, const Vector<T, Rows>& vec) in setColumn() argument 394 m_data[colNdx] = vec; in setColumn() 407 Vector<T, Rows>& Matrix<T, Rows, Cols>::getColumn (int colNdx) in getColumn() argument 409 return m_data[colNdx]; in getColumn() 413 const Vector<T, Rows>& Matrix<T, Rows, Cols>::getColumn (int colNdx) const in getColumn() 415 return m_data[colNdx]; in getColumn()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1025 for (int colNdx = 0; colNdx < numCols; colNdx++) in generateImmMatrixSrc() local 1027 if (singleCol && colNdx != colNumber) in generateImmMatrixSrc() 1032 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc() 1033 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc() 1539 for (int colNdx = 0; colNdx < numCols; colNdx++) in copyBufferVarData() local 1543 …8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1544 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1545 …t8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1546 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1751 for (int colNdx = 0; colNdx < numCols; colNdx++) in compareBufferVarData() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1025 for (int colNdx = 0; colNdx < numCols; colNdx++) in generateImmMatrixSrc() local 1027 if (singleCol && colNdx != colNumber) in generateImmMatrixSrc() 1032 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc() 1033 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc() 1539 for (int colNdx = 0; colNdx < numCols; colNdx++) in copyBufferVarData() local 1543 …8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1544 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1545 …t8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1546 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1751 for (int colNdx = 0; colNdx < numCols; colNdx++) in compareBufferVarData() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 1224 for (int colNdx = 0; colNdx < numCols; colNdx++) in generateValueSrc() local 1228 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc() 1233 if (colNdx > 0 || rowNdx > 0) in generateValueSrc() 1277 for (int colNdx = 0; colNdx < columnCount; colNdx++) in writeMatrixTypeSrc() local 1279 src << "\t" << srcName << "[" << colNdx << "] = "; in writeMatrixTypeSrc() 1307 src << "[" << colNdx << "];\n"; in writeMatrixTypeSrc() 1315 for (int colNdx = 0; colNdx < columnCount; colNdx++) 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_no_buildgn/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 1224 for (int colNdx = 0; colNdx < numCols; colNdx++) in generateValueSrc() local 1228 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc() 1233 if (colNdx > 0 || rowNdx > 0) in generateValueSrc() 1277 for (int colNdx = 0; colNdx < columnCount; colNdx++) in writeMatrixTypeSrc() local 1279 src << "\t" << srcName << "[" << colNdx << "] = "; in writeMatrixTypeSrc() 1307 src << "[" << colNdx << "];\n"; in writeMatrixTypeSrc() 1315 for (int colNdx = 0; colNdx < columnCount; colNdx++) 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/ |
D | es31fSSBOLayoutCase.cpp | 985 for (int colNdx = 0; colNdx < numCols; colNdx++) 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() 1518 for (int colNdx = 0; colNdx < numCols; colNdx++) in copyBufferVarData() local 1522 …8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1523 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1524 …t8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1525 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyBufferVarData() 1729 for (int colNdx = 0; colNdx < numCols; colNdx++) in compareBufferVarData() local [all …]
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
D | genutil.py | 610 def get (self, colNdx, rowNdx): argument 611 assert 0 <= colNdx and colNdx < self.numCols 613 return self.scalars[colNdx*self.numRows + rowNdx] 615 def set (self, colNdx, rowNdx, scalar): argument 616 assert 0 <= colNdx and colNdx < self.numCols 618 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 876 for (int colNdx = 0; colNdx < numCols; colNdx++) 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() 1234 for (int colNdx = 0; colNdx < numCols; colNdx++) 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()
|
D | glcShaderRenderCase.cpp | 652 for (int colNdx = 0; colNdx < numCols; colNdx++) in getDefaultVertexArrays() local 653 vertexArrays.push_back(va::Float(loc + colNdx, numRows, numElements, 4 * (int)sizeof(float), in getDefaultVertexArrays() 654 (const float*)quadGrid.getUserAttrib(colNdx))); in getDefaultVertexArrays()
|
D | glcShaderLibraryCase.cpp | 1039 for (int colNdx = 0; colNdx < numCols; colNdx++) in dumpValues() local 1042 float v = val.elements[elemNdx * scalarSize + rowNdx * numCols + colNdx].float32; in dumpValues() 1043 result << ((colNdx == 0) ? "" : ", ") << v; in dumpValues()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsUniformBlockCase.cpp | 964 for (int colNdx = 0; colNdx < numCols; colNdx++) 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() 1291 for (int colNdx = 0; colNdx < numCols; colNdx++) in copyUniformData() local 1295 …8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*compSize in copyUniformData() 1296 : colNdx*dstEntry.matrixStride + rowNdx*compSize); in copyUniformData() 1297 …t8* srcCompPtr = srcElemPtr + (srcEntry.isRowMajor ? rowNdx*srcEntry.matrixStride + colNdx*compSize in copyUniformData() 1298 : colNdx*srcEntry.matrixStride + rowNdx*compSize); in copyUniformData()
|
D | glsShaderRenderCase.cpp | 585 for (int colNdx = 0; colNdx < numCols; colNdx++) in getDefaultVertexArrays() local 586 …rays.push_back(va::Float(loc+colNdx, numRows, numElements, 4*(int)sizeof(float), (const float*)qua… in getDefaultVertexArrays()
|
D | glsShaderExecUtil.cpp | 617 for (int colNdx = 0; colNdx < numCols; ++colNdx) in execute() local 618 …Arrays.push_back(glu::va::Float(attribName, colNdx, numRows, numValues, stride, ((const float*)ptr… in execute()
|
/third_party/vk-gl-cts/modules/gles31/scripts/ |
D | genutil.py | 759 def get (self, colNdx, rowNdx): argument 760 assert 0 <= colNdx and colNdx < self.numCols 762 return self.scalars[colNdx*self.numRows + rowNdx] 764 def set (self, colNdx, rowNdx, scalar): argument 765 assert 0 <= colNdx and colNdx < self.numCols 767 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
D | genutil.py | 757 def get (self, colNdx, rowNdx): argument 758 assert 0 <= colNdx and colNdx < self.numCols 760 return self.scalars[colNdx*self.numRows + rowNdx] 762 def set (self, colNdx, rowNdx, scalar): argument 763 assert 0 <= colNdx and colNdx < self.numCols 765 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
D | vktComputeCooperativeMatrixTests.cpp | 1319 for (int colNdx = 0; colNdx < DE_LENGTH_OF_ARRAY(colCases); colNdx++) in createCooperativeMatrixTests() local 1345 !!colCases[colNdx].value, // bool colMajor; in createCooperativeMatrixTests() 1349 …oup->addChild(new CooperativeMatrixTestCase(testCtx, colCases[colNdx].name, colCases[colNdx].descr… in createCooperativeMatrixTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeCooperativeMatrixTests.cpp | 1319 for (int colNdx = 0; colNdx < DE_LENGTH_OF_ARRAY(colCases); colNdx++) in createCooperativeMatrixTests() local 1345 !!colCases[colNdx].value, // bool colMajor; in createCooperativeMatrixTests() 1349 …oup->addChild(new CooperativeMatrixTestCase(testCtx, colCases[colNdx].name, colCases[colNdx].descr… in createCooperativeMatrixTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 16755 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in getComponentMatrixValidityMask() local 16757 const size_t bitNdx = getNdx(rows, colNdx, rowNdx); in getComponentMatrixValidityMask() 16795 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in calc() local 16796 output[rowNdx * alignedCols + colNdx] = in[0][colNdx * alignedRows + rowNdx]; in calc() 16837 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in calc() local 16839 const size_t ndx (colNdx * alignedRows + rowNdx); in calc() 16888 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in calc() local 16896 const size_t ndx (colNdx * alignedRows + rowNdx); in calc() 16904 out[colNdx] = s.bits(); in calc() 16905 min[colNdx] = getMin(s.asDouble(), getULPs(in)); in calc() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 16755 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in getComponentMatrixValidityMask() local 16757 const size_t bitNdx = getNdx(rows, colNdx, rowNdx); in getComponentMatrixValidityMask() 16795 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in calc() local 16796 output[rowNdx * alignedCols + colNdx] = in[0][colNdx * alignedRows + rowNdx]; in calc() 16837 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in calc() local 16839 const size_t ndx (colNdx * alignedRows + rowNdx); in calc() 16888 for (size_t colNdx = 0; colNdx < cols; ++colNdx) in calc() local 16896 const size_t ndx (colNdx * alignedRows + rowNdx); in calc() 16904 out[colNdx] = s.bits(); in calc() 16905 min[colNdx] = getMin(s.asDouble(), getULPs(in)); in calc() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 723 for (int colNdx = 0; colNdx < Cols; colNdx++) 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/framework/opengl/ |
D | gluShaderLibrary.cpp | 1686 for (int colNdx = 0; colNdx < numCols; colNdx++) in dumpValue() local 1689 float v = val.elements[elemNdx*scalarSize + rowNdx*numCols + colNdx].float32; in dumpValue() 1690 result << ((colNdx==0) ? "" : ", ") << v; in dumpValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 2785 for (int colNdx = 0; colNdx < 4; ++colNdx) in generateDegenerateTriangles() local 2787 const float offsetX = -1.0f + float(4 * (colNdx + 1)) * pixelSize; in generateDegenerateTriangles() 2795 const bool luCW = (colNdx & 1) == 0; in generateDegenerateTriangles() 2796 const bool rdCW = (colNdx & 2) == 0; in generateDegenerateTriangles() 3049 for (int colNdx = 0; colNdx < 4; ++colNdx) 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/ |
D | vktRasterizationTests.cpp | 2785 for (int colNdx = 0; colNdx < 4; ++colNdx) in generateDegenerateTriangles() local 2787 const float offsetX = -1.0f + float(4 * (colNdx + 1)) * pixelSize; in generateDegenerateTriangles() 2795 const bool luCW = (colNdx & 1) == 0; in generateDegenerateTriangles() 2796 const bool rdCW = (colNdx & 2) == 0; in generateDegenerateTriangles() 3049 for (int colNdx = 0; colNdx < 4; ++colNdx) 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 …]
|