Home
last modified time | relevance | path

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

12

/external/angle/src/compiler/translator/
Dblocklayout.h29 constexpr BlockMemberInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in BlockMemberInfo()
33 matrixStride(matrixStride), in BlockMemberInfo()
40 int matrixStride, in BlockMemberInfo()
46 matrixStride(matrixStride), in BlockMemberInfo()
55 int matrixStride, in BlockMemberInfo()
61 matrixStride(matrixStride), in BlockMemberInfo()
69 int matrixStride, in BlockMemberInfo()
76 matrixStride(matrixStride), in BlockMemberInfo()
92 int matrixStride = -1; member
155 int matrixStride) = 0;
[all …]
Dblocklayout.cpp22 lhs.matrixStride == rhs.matrixStride && lhs.arraySize == rhs.arraySize && in operator ==()
197 int matrixStride; in encodeType() local
199 getBlockLayoutInfo(type, arraySizes, isRowMajorMatrix, &arrayStride, &matrixStride); in encodeType()
203 static_cast<int>(matrixStride * kBytesPerComponent), in encodeType()
206 advanceOffset(type, arraySizes, isRowMajorMatrix, arrayStride, matrixStride); in encodeType()
316 int matrixStride = 0; in getBlockLayoutInfo() local
322 matrixStride = static_cast<int>(getTypeBaseAlignment(type, isRowMajorMatrix)); in getBlockLayoutInfo()
344 *matrixStrideOut = matrixStride; in getBlockLayoutInfo()
352 int matrixStride) in advanceOffset() argument
363 angle::base::CheckedNumeric<size_t> checkedOffset(matrixStride); in advanceOffset()
/external/angle/src/libANGLE/renderer/metal/
DblocklayoutMetal.cpp260 int matrixStride = 0; in getBlockLayoutInfo() local
266 matrixStride = static_cast<int>(mtl::GetMetalAlignmentForGLType(type)); in getBlockLayoutInfo()
282 *matrixStrideOut = matrixStride; in getBlockLayoutInfo()
290 int matrixStride; in encodeType() local
292 getBlockLayoutInfo(type, arraySizes, isRowMajorMatrix, &arrayStride, &matrixStride); in encodeType()
295 static_cast<int>(matrixStride), gl::ArraySizeProduct(arraySizes), isRowMajorMatrix); in encodeType()
298 advanceOffset(type, arraySizes, isRowMajorMatrix, arrayStride, matrixStride); in encodeType()
359 int matrixStride) in advanceOffset() argument
DblocklayoutMetal.h77 int matrixStride) override;
/external/angle/src/compiler/translator/hlsl/
DShaderStorageBlockFunctionHLSL.cpp60 componentStride = ssboFunction.matrixStride; in OutputSSBOLoadFunctionBody()
87 << "(loc + " << rowIndex * ssboFunction.matrixStride << ")), "; in OutputSSBOLoadFunctionBody()
98 << "(loc + " << columnIndex * ssboFunction.matrixStride << ")), "; in OutputSSBOLoadFunctionBody()
151 componentStride = ssboFunction.matrixStride; in OutputSSBOStoreFunctionBody()
176 << "(loc + " << rowIndex * ssboFunction.matrixStride << ", asuint(tmp_[" in OutputSSBOStoreFunctionBody()
185 << "(loc + " << columnIndex * ssboFunction.matrixStride << ", asuint(value[" in OutputSSBOStoreFunctionBody()
255 int matrixStride, in registerShaderStorageBlockFunction() argument
335 ssboFunction.matrixStride = matrixStride; in registerShaderStorageBlockFunction()
DblocklayoutHLSL.cpp40 int matrixStride = 0; in getBlockLayoutInfo() local
53 matrixStride = kComponentsPerRegister; in getBlockLayoutInfo()
74 *matrixStrideOut = matrixStride; in getBlockLayoutInfo()
82 int matrixStride) in advanceOffset() argument
97 ASSERT(matrixStride == kComponentsPerRegister); in advanceOffset()
DShaderStorageBlockFunctionHLSL.h60 int matrixStride,
75 int matrixStride; member
DShaderStorageBlockOutputHLSL.cpp386 return GetBlockMemberInfoByType(node->getType(), storage, rowMajor).matrixStride; in getMatrixStride()
495 int matrixStride = getMatrixStride(node, storage, rowMajor, &isRowMajorMatrix); in traverseSSBOAccess() local
498 node->getType(), method, storage, isRowMajorMatrix, matrixStride, unsizedArrayStride, in traverseSSBOAccess()
641 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput()
648 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput()
DblocklayoutHLSL.h56 int matrixStride) override;
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp158 << ", matrixStride = " << entry.matrixStride in operator <<()
494 entry.matrixStride = 0; in computeReferenceLayout()
511 entry.matrixStride = vecStride; in computeReferenceLayout()
514 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
547 entry.matrixStride = 0; in computeReferenceLayout()
574 entry.matrixStride = vecStride; in computeReferenceLayout()
644 entry.matrixStride = 0; in computeReferenceLayout()
675 entry.matrixStride = stride; in computeReferenceLayout()
793 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
1013 void generateImmMatrixSrc (std::ostream& src, glu::DataType basicType, int matrixStride, bool isRow… in generateImmMatrixSrc() argument
[all …]
DvktSSBOLayoutCase.hpp160 , matrixStride (-1) in BufferVarLayoutEntry()
173 int matrixStride; member
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp212 …: type(glu::TYPE_LAST), size(0), blockNdx(-1), offset(-1), arrayStride(-1), matrixStride(-1), isRo… in UniformLayoutEntry()
222 int matrixStride; member
230 << ", arrayStride = " << entry.arrayStride << ", matrixStride = " << entry.matrixStride in operator <<()
449 entry.matrixStride = 0; in computeStd140Layout()
463 entry.matrixStride = stride; in computeStd140Layout()
495 entry.matrixStride = 0; in computeStd140Layout()
519 entry.matrixStride = stride; in computeStd140Layout()
616 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx * entry.matrixStride : 0); in generateValue()
880 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx * entry.matrixStride + colNdx * comp… in generateValueSrc()
881 colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc()
[all …]
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp165 , matrixStride (-1) in BufferVarLayoutEntry()
178 int matrixStride; member
197 << ", matrixStride = " << entry.matrixStride in operator <<()
484 entry.matrixStride = 0; in computeReferenceLayout()
497 entry.matrixStride = baseAlignment; in computeReferenceLayout()
529 entry.matrixStride = 0; in computeReferenceLayout()
553 entry.matrixStride = vecStride; in computeReferenceLayout()
617 entry.matrixStride = 0; in computeReferenceLayout()
645 entry.matrixStride = stride; in computeReferenceLayout()
753 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
[all …]
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp242 , matrixStride (-1) in UniformLayoutEntry()
253 int matrixStride; member
264 << ", matrixStride = " << entry.matrixStride in operator <<()
476 entry.matrixStride = 0; in computeStd140Layout()
491 entry.matrixStride = stride; in computeStd140Layout()
523 entry.matrixStride = 0; in computeStd140Layout()
547 entry.matrixStride = stride; in computeStd140Layout()
643 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
968 … const deUint8* compPtr = elemPtr + (entry.isRowMajor ? rowNdx*entry.matrixStride + colNdx*compSize in generateValueSrc()
969 : colNdx*entry.matrixStride + rowNdx*compSize); in generateValueSrc()
[all …]
DglsShaderExecUtil.cpp849 deUint32 matrixStride; member
851 VarLayout (void) : offset(0), stride(0), matrixStride(0) {} in VarLayout()
934 layoutEntry.matrixStride = 0; in computeVarLayout()
948 layoutEntry.matrixStride = vecAlignment; in computeVarLayout()
984 …const int dstOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*ve… in copyToBuffer()
1010 …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/angle/src/libANGLE/
DUniform.h80 void setBlockInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in setBlockInfo()
84 mFixedSizeData.blockInfo.matrixStride = matrixStride; in setBlockInfo()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCompositeInsertTests.cpp307 const deUint32 matrixStride = rows == 3 ? 16 : rows * 4; in addComputeMatrixCompositeInsertTests() local
326 …" OpMemberDecorate %Output 0 MatrixStride " + de::toString(matrixStride) +… in addComputeMatrixCompositeInsertTests()
380 const deUint32 matrixStride = rows == 3 ? 16 : rows * 4; in addGraphicsMatrixCompositeInsertTests() local
422 …" OpMemberDecorate %Output 0 MatrixStride " + de::toString(matrixStride) +… in addGraphicsMatrixCompositeInsertTests()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.hpp277 , matrixStride (-1) in UniformLayoutEntry()
292 int matrixStride; member
DvktUniformBlockCase.cpp177 << ", matrixStride = " << entry.matrixStride in operator <<()
579 entry.matrixStride = 0; in computeReferenceLayout()
596 entry.matrixStride = vecStride; in computeReferenceLayout()
599 curOffset += numVecs*entry.matrixStride; in computeReferenceLayout()
632 entry.matrixStride = 0; in computeReferenceLayout()
659 entry.matrixStride = vecStride; in computeReferenceLayout()
756 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
1221 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? (rowNdx * entry.matrixStride + colNdx * com… in generateValueSrc()
1222 : (colNdx * entry.matrixStride + rowNdx * compSize)); in generateValueSrc()
1292 …const deUint8* compPtr = elemPtr + (entry.isRowMajor ? (rowNdex * entry.matrixStride + colNdex * c… in writeMatrixTypeSrc()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.hpp284 , matrixStride (-1) in InterfaceLayoutEntry()
297 int matrixStride; member
DvktTransformFeedbackFuzzLayoutCase.cpp187 << ", matrixStride = " << entry.matrixStride in operator <<()
479 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in createMask()
577 entry.matrixStride = 0; in computeXfbLayout()
591 entry.matrixStride = stride; in computeXfbLayout()
631 entry.matrixStride = 0; in computeXfbLayout()
659 entry.matrixStride = stride; in computeXfbLayout()
922 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue()
1228 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in generateValueSrc()
1324 const deUint8* compPtr = elemPtr + (colNdx * entry.matrixStride + rowNdx * compSize); in writeMatrixTypeSrc()
1814 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in validateValue()
/external/angle/src/libANGLE/renderer/vulkan/
DProgramVk.cpp33 int matrixStride) override in advanceOffset() argument
41 matrixStride); in advanceOffset()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1591 deUint32 matrixStride; member
1593 VarLayout (void) : offset(0), stride(0), matrixStride(0) {} in VarLayout()
1649 layoutEntry.matrixStride = 0; in computeVarLayout()
1663 layoutEntry.matrixStride = vecAlignment; in computeVarLayout()
1791 …tOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride * vecNdx : 0); in copyToBuffer()
1831 …cOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride * vecNdx : 0); in copyFromBuffer()

12