Home
last modified time | relevance | path

Searched refs:matrixStride (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DOutputASM.h38 BlockMemberInfo() : offset(-1), arrayStride(-1), matrixStride(-1), isRowMajorMatrix(false) {} in BlockMemberInfo()
40 BlockMemberInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in BlockMemberInfo()
43 matrixStride(matrixStride), in BlockMemberInfo()
54 int matrixStride; member
124 …TType &type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride) = 0;
139 … &type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride) override;
DOutputASM.cpp298 int matrixStride; in encodeType() local
301 getBlockLayoutInfo(type, type.getArraySize(), isRowMajor, &arrayStride, &matrixStride); in encodeType()
305 static_cast<int>(matrixStride * BytesPerComponent), in encodeType()
306 (matrixStride > 0) && isRowMajor); in encodeType()
308 advanceOffset(type, type.getArraySize(), isRowMajor, arrayStride, matrixStride); in encodeType()
347 int matrixStride = 0; in getBlockLayoutInfo() local
353 matrixStride = ComponentsPerRegister; in getBlockLayoutInfo()
374 *matrixStrideOut = matrixStride; in getBlockLayoutInfo()
378 …onst TType &type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride) in advanceOffset() argument
386 ASSERT(matrixStride == ComponentsPerRegister); in advanceOffset()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp211 …: type(glu::TYPE_LAST), size(0), blockNdx(-1), offset(-1), arrayStride(-1), matrixStride(-1), isRo… in UniformLayoutEntry()
221 int matrixStride; member
229 << ", arrayStride = " << entry.arrayStride << ", matrixStride = " << entry.matrixStride in operator <<()
454 entry.matrixStride = 0; in computeStd140Layout()
468 entry.matrixStride = stride; in computeStd140Layout()
500 entry.matrixStride = 0; in computeStd140Layout()
524 entry.matrixStride = stride; in computeStd140Layout()
621 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx * entry.matrixStride : 0); in generateValue()
885 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx * entry.matrixStride + colNdx * comp… in generateValueSrc()
886 colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp155 << ", matrixStride = " << entry.matrixStride in operator <<()
497 entry.matrixStride = 0; in computeReferenceLayout()
514 entry.matrixStride = vecStride; in computeReferenceLayout()
517 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
550 entry.matrixStride = 0; in computeReferenceLayout()
577 entry.matrixStride = vecStride; in computeReferenceLayout()
647 entry.matrixStride = 0; in computeReferenceLayout()
678 entry.matrixStride = stride; in computeReferenceLayout()
796 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
1118 void generateImmMatrixSrc (std::ostream& src, glu::DataType basicType, int matrixStride, bool isRow… in generateImmMatrixSrc() argument
[all …]
DvktSSBOLayoutCase.hpp153 , matrixStride (-1) in BufferVarLayoutEntry()
166 int matrixStride; member
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp164 , matrixStride (-1) in BufferVarLayoutEntry()
177 int matrixStride; member
196 << ", matrixStride = " << entry.matrixStride in operator <<()
489 entry.matrixStride = 0; in computeReferenceLayout()
502 entry.matrixStride = baseAlignment; in computeReferenceLayout()
534 entry.matrixStride = 0; in computeReferenceLayout()
558 entry.matrixStride = vecStride; in computeReferenceLayout()
622 entry.matrixStride = 0; in computeReferenceLayout()
650 entry.matrixStride = stride; in computeReferenceLayout()
758 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
[all …]
Des31fProgramInterfaceQueryTestCase.cpp715 …const int matrixStride = (!isBufferBlock && !glu::isDataTypeAtomicCounter(component.getVariableTyp… in validateSingleVariable() local
717 … << tcu::TestLog::Message << "Verifying matrix stride, expecting " << matrixStride << tcu::TestLog… in validateSingleVariable()
719 if (matrixStride != propValue) in validateSingleVariable()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp241 , matrixStride (-1) in UniformLayoutEntry()
252 int matrixStride; member
263 << ", matrixStride = " << entry.matrixStride in operator <<()
481 entry.matrixStride = 0; in computeStd140Layout()
495 entry.matrixStride = stride; in computeStd140Layout()
527 entry.matrixStride = 0; in computeStd140Layout()
551 entry.matrixStride = stride; in computeStd140Layout()
642 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
965 … const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx*entry.matrixStride + colNdx*compSize in generateValueSrc()
966 : colNdx*entry.matrixStride + rowNdx*compSize); in generateValueSrc()
[all …]
DglsShaderExecUtil.cpp848 deUint32 matrixStride; member
850 VarLayout (void) : offset(0), stride(0), matrixStride(0) {} in VarLayout()
933 layoutEntry.matrixStride = 0; in computeVarLayout()
947 layoutEntry.matrixStride = vecAlignment; in computeVarLayout()
983 …const int dstOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*ve… in copyToBuffer()
1009 …const int srcOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*ve… in copyFromBuffer()
/external/deqp/framework/opengl/
DgluProgramInterfaceQuery.hpp67 deInt32 matrixStride; //!< GL_MATRIX_STRIDE member
80 , matrixStride (0) in InterfaceVariableInfo()
DgluProgramInterfaceQuery.cpp95 info.matrixStride = getProgramResourceUint(gl, program, programInterface, index, GL_MATRIX_STRIDE); in getProgramInterfaceVariableInfo()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCompositeInsertTests.cpp284 const deUint32 matrixStride = rows == 3 ? 16 : rows * 4; in addComputeMatrixCompositeInsertTests() local
303 …" OpMemberDecorate %Output 0 MatrixStride " + de::toString(matrixStride) +… in addComputeMatrixCompositeInsertTests()
356 const deUint32 matrixStride = rows == 3 ? 16 : rows * 4; in addGraphicsMatrixCompositeInsertTests() local
398 …" OpMemberDecorate %Output 0 MatrixStride " + de::toString(matrixStride) +… in addGraphicsMatrixCompositeInsertTests()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.hpp275 , matrixStride (-1) in UniformLayoutEntry()
290 int matrixStride; member
DvktUniformBlockCase.cpp176 << ", matrixStride = " << entry.matrixStride in operator <<()
584 entry.matrixStride = 0; in computeReferenceLayout()
601 entry.matrixStride = vecStride; in computeReferenceLayout()
604 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
637 entry.matrixStride = 0; in computeReferenceLayout()
664 entry.matrixStride = vecStride; in computeReferenceLayout()
761 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
1254 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? (rowNdx * entry.matrixStride + colNdx * com… in generateValueSrc()
1255 : (colNdx * entry.matrixStride + rowNdx * compSize)); in generateValueSrc()
1325 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? (rowNdex * entry.matrixStride + colNdex * c… in writeMatrixTypeSrc()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1553 deUint32 matrixStride; member
1555 VarLayout (void) : offset(0), stride(0), matrixStride(0) {} in VarLayout()
1611 layoutEntry.matrixStride = 0; in computeVarLayout()
1625 layoutEntry.matrixStride = vecAlignment; in computeVarLayout()
1753 …tOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride * vecNdx : 0); in copyToBuffer()
1780 …cOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride * vecNdx : 0); in copyFromBuffer()
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.h48 int matrixStride = -1; member
DProgram.cpp51 matrixStride = uniform.blockInfo.matrixStride; in BlockInfo()
2876 case GL_UNIFORM_MATRIX_STRIDE: return uniform.blockInfo.matrixStride; in getActiveUniformi()