/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 974 for (deUint32 rowNdx = 0; rowNdx < m_renderSize.y(); rowNdx++) in validateDepthBuffer() 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 << "): expected " << expectedValue << " but got " << actualValue << TestLog::EndMessage; in validateDepthBuffer() 1001 log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx << "): expected " << expectedValue << " but got " << actualValue << TestLog::EndMessage; in validateDepthBuffer() 1371 for (deInt32 rowNdx = 0; rowNdx < (deInt3 in validateSampleLocations() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 974 for (deUint32 rowNdx = 0; rowNdx < m_renderSize.y(); rowNdx++) in validateDepthBuffer() 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 << "): expected " << expectedValue << " but got " << actualValue << TestLog::EndMessage; in validateDepthBuffer() 1001 log << TestLog::Message << "Mismatch at pixel (" << colNdx << "," << rowNdx << "," << sampleNdx << "): expected " << expectedValue << " but got " << actualValue << TestLog::EndMessage; in validateDepthBuffer() 1371 for (deInt32 rowNdx = 0; rowNdx < (deInt3 in validateSampleLocations() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineVertexInputTests.cpp | 897 for (int rowNdx = 0; rowNdx < kMaxComponents; rowNdx++) in getGlslAttributeConditions() 900 orderNdx = ABGROrder[rowNdx]; in getGlslAttributeConditions() 902 orderNdx = ARGBOrder[rowNdx]; in getGlslAttributeConditions() 904 orderNdx = BGROrder[rowNdx]; in getGlslAttributeConditions() 915 accessStream << "[" << rowNdx << "]"; in getGlslAttributeConditions() local 919 accessStream << "[" << columnNdx << "][" << rowNdx << "]"; in getGlslAttributeConditions() local 925 if (rowNdx < componentCount && !m_testMissingComponents) in getGlslAttributeConditions() 956 glslCode << indentStr << "if (abs(" << accessStr << " + double(0.01 * (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < double(" << threshold[rowNdx] << "))\ in getGlslAttributeConditions() [all...] |
H A D | vktPipelineVertexUtil.cpp | 1079 for (int rowNdx = 0; rowNdx < rows; rowNdx++) 1085 Vec4(-1.0f + (float)columnNdx * columnSize, -1.0f + (float)rowNdx * rowSize, 0.0f, 1.0f),
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fPrimitiveRestartTests.cpp | 425 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in init() 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()
|
H A D | es3fTextureUnitTests.cpp | 188 for (int rowNdx = 0; rowNdx < 3; rowNdx++) in matExtend3To4() 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_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineVertexInputTests.cpp | 798 for (int rowNdx = 0; rowNdx < componentCount; rowNdx++) in getGlslAttributeConditions() 801 orderNdx = ABGROrder[rowNdx]; in getGlslAttributeConditions() 803 orderNdx = ARGBOrder[rowNdx]; in getGlslAttributeConditions() 805 orderNdx = BGROrder[rowNdx]; in getGlslAttributeConditions() 816 accessStream << "[" << rowNdx << "]"; in getGlslAttributeConditions() local 820 accessStream << "[" << columnNdx << "][" << rowNdx << "]"; in getGlslAttributeConditions() local 853 glslCode << indentStr << "if (abs(" << accessStr << " + double(0.01 * (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < double(" << threshold[rowNdx] << "))\n"; in getGlslAttributeConditions() 857 glslCode << indentStr << "if (abs(" << accessStr << " + (0.01 * (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\ in getGlslAttributeConditions() [all...] |
H A D | vktPipelineVertexUtil.cpp | 1079 for (int rowNdx = 0; rowNdx < rows; rowNdx++) 1085 Vec4(-1.0f + (float)columnNdx * columnSize, -1.0f + (float)rowNdx * rowSize, 0.0f, 1.0f),
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcUniformBlockCase.cpp | 878 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() 880 const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx * entry.matrixStride + colNdx * compSize : 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() 1239 dstElemPtr + (dstEntry.isRowMajor ? rowNdx * dstEntr in copyUniformData() [all...] |
H A D | glcShaderLibraryCase.cpp | 1036 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in dumpValues() 1042 float v = val.elements[elemNdx * scalarSize + rowNdx * numCols + colNdx].float32; in dumpValues()
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
H A D | genutil.py | 610 def get (self, colNdx, rowNdx): 612 assert 0 <= rowNdx and rowNdx < self.numRows 613 return self.scalars[colNdx*self.numRows + rowNdx] 615 def set (self, colNdx, rowNdx, scalar): 617 assert 0 <= rowNdx and rowNdx < self.numRows 618 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
H A D | vktTransformFeedbackFuzzLayoutCase.cpp | 1226 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() 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() 1298 if (rowNdx < rowCount-1) in writeMatrixTypeSrc() 1317 for (int rowNdx in writeMatrixTypeSrc() 1319 src << "\\t" << srcName << "[" << colNdx << "][" << rowNdx << "] = "; writeMatrixTypeSrc() local 1334 src << "[" << colNdx << "][" << rowNdx << "];\\n"; writeMatrixTypeSrc() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
H A D | vktTransformFeedbackFuzzLayoutCase.cpp | 1226 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() 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() 1298 if (rowNdx < rowCount-1) in writeMatrixTypeSrc() 1317 for (int rowNdx in writeMatrixTypeSrc() 1319 src << "\\t" << srcName << "[" << colNdx << "][" << rowNdx << "] = "; writeMatrixTypeSrc() local 1334 src << "[" << colNdx << "][" << rowNdx << "];\\n"; writeMatrixTypeSrc() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSSBOLayoutCase.cpp | 987 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() 989 const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*compSize 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() 1522 deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntr in copyBufferVarData() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 1030 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() 1032 const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*compSize in generateImmMatrixSrc() 1033 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc() 1541 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() 1543 deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1544 : colNdx*dstEntry.matrixStride + rowNdx*compSiz in copyBufferVarData() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 1030 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateImmMatrixSrc() 1032 const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*compSize in generateImmMatrixSrc() 1033 : colNdx*matrixStride + rowNdx*compSize); in generateImmMatrixSrc() 1541 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in copyBufferVarData() 1543 deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntry.matrixStride + colNdx*compSize in copyBufferVarData() 1544 : colNdx*dstEntry.matrixStride + rowNdx*compSiz in copyBufferVarData() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A 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()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsUniformBlockCase.cpp | 966 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() 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() 1295 deUint8* dstCompPtr = dstElemPtr + (dstEntry.isRowMajor ? rowNdx*dstEntr in copyUniformData() [all...] |
/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | genutil.py | 757 def get (self, colNdx, rowNdx): 759 assert 0 <= rowNdx and rowNdx < self.numRows 760 return self.scalars[colNdx*self.numRows + rowNdx] 762 def set (self, colNdx, rowNdx, scalar): 764 assert 0 <= rowNdx and rowNdx < self.numRows 765 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/third_party/vk-gl-cts/modules/gles31/scripts/ |
H A D | genutil.py | 759 def get (self, colNdx, rowNdx): 761 assert 0 <= rowNdx and rowNdx < self.numRows 762 return self.scalars[colNdx*self.numRows + rowNdx] 764 def set (self, colNdx, rowNdx, scalar): 766 assert 0 <= rowNdx and rowNdx < self.numRows 767 self.scalars[colNdx*self.numRows + rowNdx] = scalar
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderLibrary.cpp | 1683 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in dumpValue() 1689 float v = val.elements[elemNdx*scalarSize + rowNdx*numCols + colNdx].float32; in dumpValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmInstructionTests.cpp | 16852 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) 16855 const size_t bitNdx = getNdx(rows, colNdx, rowNdx); 16892 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) 16894 output[rowNdx * alignedCols + colNdx] = in[0][colNdx * alignedRows + rowNdx]; 16934 for (size_t rowNdx [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmInstructionTests.cpp | 16754 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) 16757 const size_t bitNdx = getNdx(rows, colNdx, rowNdx); 16794 for (size_t rowNdx = 0; rowNdx < rows; ++rowNdx) 16796 output[rowNdx * alignedCols + colNdx] = in[0][colNdx * alignedRows + rowNdx]; 16836 for (size_t rowNdx [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderMatrixTests.cpp | 725 for (int rowNdx = 0; rowNdx < Rows; rowNdx++) in writeMatrixConstructor() 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/vulkan/ubo/ |
H A D | vktUniformBlockCase.cpp | 1219 for (int rowNdx = 0; rowNdx < numRows; rowNdx++) in generateValueSrc() 1221 const deUint8* compPtr = elemPtr + (entry.isRowMajor ? (rowNdx * entry.matrixStride + colNdx * compSize) in generateValueSrc() 1222 : (colNdx * entry.matrixStride + rowNdx * compSize)); in generateValueSrc() 1224 if (colNdx > 0 || rowNdx > 0) in generateValueSrc()
|