Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.h32 constexpr BlockMemberInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in BlockMemberInfo()
35 matrixStride(matrixStride), in BlockMemberInfo()
41 int matrixStride, in BlockMemberInfo()
46 matrixStride(matrixStride), in BlockMemberInfo()
59 int matrixStride = -1; member
111 int matrixStride) = 0;
136 int matrixStride) override in advanceOffset() argument
161 int matrixStride) override;
DShaderStorageBlockFunctionHLSL.cpp60 componentStride = ssboFunction.matrixStride; in OutputSSBOLoadFunctionBody()
87 << rowIndex * ssboFunction.matrixStride << ")), "; in OutputSSBOLoadFunctionBody()
98 << columnIndex * ssboFunction.matrixStride << ")), "; in OutputSSBOLoadFunctionBody()
149 componentStride = ssboFunction.matrixStride; in OutputSSBOStoreFunctionBody()
172 << rowIndex * ssboFunction.matrixStride << ", asuint(tmp_[" << rowIndex in OutputSSBOStoreFunctionBody()
181 << columnIndex * ssboFunction.matrixStride << ", asuint(value[" << columnIndex in OutputSSBOStoreFunctionBody()
251 int matrixStride, in registerShaderStorageBlockFunction() argument
331 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()
Dblocklayout.cpp180 int matrixStride; in encodeType() local
182 getBlockLayoutInfo(type, arraySizes, isRowMajorMatrix, &arrayStride, &matrixStride); in encodeType()
186 static_cast<int>(matrixStride * kBytesPerComponent), in encodeType()
189 advanceOffset(type, arraySizes, isRowMajorMatrix, arrayStride, matrixStride); in encodeType()
258 int matrixStride = 0; in getBlockLayoutInfo() local
264 matrixStride = static_cast<int>(getTypeBaseAlignment(type, isRowMajorMatrix)); in getBlockLayoutInfo()
286 *matrixStrideOut = matrixStride; in getBlockLayoutInfo()
294 int matrixStride) in advanceOffset() argument
303 mCurrentOffset += matrixStride * numRegisters; in advanceOffset()
DShaderStorageBlockFunctionHLSL.h60 int matrixStride,
75 int matrixStride; member
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.h29 constexpr BlockMemberInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in BlockMemberInfo()
32 matrixStride(matrixStride), in BlockMemberInfo()
38 int matrixStride, in BlockMemberInfo()
43 matrixStride(matrixStride), in BlockMemberInfo()
56 int matrixStride = -1; member
113 int matrixStride) = 0;
138 int matrixStride) override in advanceOffset() argument
163 int matrixStride) override;
DShaderStorageBlockFunctionHLSL.cpp60 componentStride = ssboFunction.matrixStride; in OutputSSBOLoadFunctionBody()
87 << rowIndex * ssboFunction.matrixStride << ")), "; in OutputSSBOLoadFunctionBody()
98 << columnIndex * ssboFunction.matrixStride << ")), "; in OutputSSBOLoadFunctionBody()
149 componentStride = ssboFunction.matrixStride; in OutputSSBOStoreFunctionBody()
172 << rowIndex * ssboFunction.matrixStride << ", asuint(tmp_[" << rowIndex in OutputSSBOStoreFunctionBody()
181 << columnIndex * ssboFunction.matrixStride << ", asuint(value[" << columnIndex in OutputSSBOStoreFunctionBody()
251 int matrixStride, in registerShaderStorageBlockFunction() argument
331 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()
Dblocklayout.cpp188 int matrixStride; in encodeType() local
190 getBlockLayoutInfo(type, arraySizes, isRowMajorMatrix, &arrayStride, &matrixStride); in encodeType()
194 static_cast<int>(matrixStride * kBytesPerComponent), in encodeType()
197 advanceOffset(type, arraySizes, isRowMajorMatrix, arrayStride, matrixStride); in encodeType()
301 int matrixStride = 0; in getBlockLayoutInfo() local
307 matrixStride = static_cast<int>(getTypeBaseAlignment(type, isRowMajorMatrix)); in getBlockLayoutInfo()
329 *matrixStrideOut = matrixStride; in getBlockLayoutInfo()
337 int matrixStride) in advanceOffset() argument
348 angle::base::CheckedNumeric<size_t> checkedOffset(matrixStride); in advanceOffset()
DShaderStorageBlockFunctionHLSL.h60 int matrixStride,
75 int matrixStride; member
DShaderStorageBlockOutputHLSL.cpp383 return GetBlockMemberInfoByType(node->getType(), storage, rowMajor).matrixStride; in getMatrixStride()
492 int matrixStride = getMatrixStride(node, storage, rowMajor, &isRowMajorMatrix); in traverseSSBOAccess() local
495 node->getType(), method, storage, isRowMajorMatrix, matrixStride, unsizedArrayStride, in traverseSSBOAccess()
623 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput()
630 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput()
DblocklayoutHLSL.h56 int matrixStride) override;
/third_party/skia/third_party/externals/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;
/third_party/vk-gl-cts/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
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/framework/opengl/
DgluProgramInterfaceQuery.hpp67 deInt32 matrixStride; //!< GL_MATRIX_STRIDE member
80 , matrixStride (0) in InterfaceVariableInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
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 …]

123