Home
last modified time | relevance | path

Searched refs:matrixType (Results 1 – 19 of 19) sorted by relevance

/third_party/flutter/skia/tools/lua/
Dbitmap_statistics.lua31 matrixType = matrix:getType()
32 if matrixType.perspective then
34 elseif matrixType.affine then
36 elseif matrixType.scale then
43 elseif matrixType.translate then
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DMatrixLoadTest.cpp90 auto matrixType = modeType.second; in TEST_P() local
94 glGetFloatv(matrixType, outputMatrix.data()); in TEST_P()
99 glGetFloatv(matrixType, outputMatrix.data()); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DMatrixLoadTest.cpp90 auto matrixType = modeType.second; in TEST_P() local
94 glGetFloatv(matrixType, outputMatrix.data()); in TEST_P()
99 glGetFloatv(matrixType, outputMatrix.data()); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DAstHelpers.cpp335 TType &sh::DropColumns(const TType &matrixType) in DropColumns() argument
337 ASSERT(matrixType.isMatrix()); in DropColumns()
338 ASSERT(HasScalarBasicType(matrixType)); in DropColumns()
340 TType &vectorType = *new TType(matrixType); in DropColumns()
372 TType &sh::SetMatrixRowDim(const TType &matrixType, int newDim) in SetMatrixRowDim() argument
374 ASSERT(matrixType.isMatrix()); in SetMatrixRowDim()
376 return SetTypeDimsImpl(matrixType, matrixType.getCols(), newDim); in SetMatrixRowDim()
DAstHelpers.h126 TType &DropColumns(const TType &matrixType);
135 TType &SetMatrixRowDim(const TType &matrixType, int newDim);
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp917 std::string matrixType = this->typeName(sourceMatrix.componentType()); in assembleMatrixFromMatrix() local
921 fExtraFunctions.printf("%s%s%d(", separator, matrixType.c_str(), rows); in assembleMatrixFromMatrix()
958 std::string matrixType = this->typeName(ctor.type().componentType()); in assembleMatrixFromExpressions() local
966 fExtraFunctions.printf("%s%s%d(", separator, matrixType.c_str(), rows); in assembleMatrixFromExpressions()
1172 String MetalCodeGenerator::getVectorFromMat2x2ConstructorHelper(const Type& matrixType) { in getVectorFromMat2x2ConstructorHelper() argument
1173 SkASSERT(matrixType.isMatrix()); in getVectorFromMat2x2ConstructorHelper()
1174 SkASSERT(matrixType.rows() == 2); in getVectorFromMat2x2ConstructorHelper()
1175 SkASSERT(matrixType.columns() == 2); in getVectorFromMat2x2ConstructorHelper()
1177 String baseType = this->typeName(matrixType.componentType()); in getVectorFromMat2x2ConstructorHelper()
1234 const Type& matrixType = c.type(); in writeConstructorCompoundMatrix() local
[all …]
DSkSLMetalCodeGenerator.h179 String getVectorFromMat2x2ConstructorHelper(const Type& matrixType);
219 void writeNumberAsMatrix(const Expression& expr, const Type& matrixType);
DSkSLSPIRVCodeGenerator.h268 SpvId writeScalarToMatrixSplat(const Type& matrixType, SpvId scalarId, OutputStream& out);
DSkSLSPIRVCodeGenerator.cpp2311 SpvId SPIRVCodeGenerator::writeScalarToMatrixSplat(const Type& matrixType, in writeScalarToMatrixSplat() argument
2315 const Type& vectorType = matrixType.componentType().toCompound(fContext, in writeScalarToMatrixSplat()
2316 /*columns=*/matrixType.rows(), in writeScalarToMatrixSplat()
2318 std::vector<SpvId> vecArguments(/*count*/ matrixType.rows(), /*value*/ scalarId); in writeScalarToMatrixSplat()
2322 std::vector<SpvId> matArguments(/*count*/ matrixType.columns(), /*value*/ vectorId); in writeScalarToMatrixSplat()
2323 return this->writeComposite(matArguments, matrixType, out); in writeScalarToMatrixSplat()
/third_party/flutter/skia/fuzz/
DFuzzCommon.cpp291 int matrixType; in FuzzNiceMatrix() local
292 fuzz->nextRange(&matrixType, 0, 4); in FuzzNiceMatrix()
293 switch (matrixType) { in FuzzNiceMatrix()
/third_party/skia/fuzz/
DFuzzCommon.cpp288 int matrixType; in FuzzNiceMatrix() local
289 fuzz->nextRange(&matrixType, 0, 4); in FuzzNiceMatrix()
290 switch (matrixType) { in FuzzNiceMatrix()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderMatrixTests.cpp1457 DataType matrixType = matNdx == 0 ? m_in0.dataType : m_in1.dataType; in init() local
1461 resultType = matrixType; in init()
1465 …peFloatVec(matNdx == 0 ? getDataTypeMatrixNumRows(matrixType) : getDataTypeMatrixNumColumns(matrix… in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp1717 DataType matrixType = matNdx == 0 ? m_in0.dataType : m_in1.dataType; in setupShader() local
1721 resultType = matrixType; in setupShader()
1725 …peFloatVec(matNdx == 0 ? getDataTypeMatrixNumRows(matrixType) : getDataTypeMatrixNumColumns(matrix… in setupShader()
DvktShaderRender.cpp1752 BaseAttributeType matrixType; in setupDefaultInputs() member
1781 if (matrices[matNdx].matrixType != m_enabledBaseAttributes[attrNdx].type) in setupDefaultInputs()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderMatrixTests.cpp804 DataType matrixType = matNdx == 0 ? m_in0.dataType : m_in1.dataType; in init() local
808 resultType = matrixType; in init()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES.h246 GLenum matrixType,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp2946 const TType &matrixType = in visitOperator() local
2950 mBuilder.getBasicTypeId(matrixType.getBasicType(), matrixType.getRows()); in visitOperator()
2963 for (int columnIndex = 0; columnIndex < matrixType.getCols(); ++columnIndex) in visitOperator()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES.h349 GLenum matrixType,
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp182 …int getMatrixStride(const glslang::TType& matrixType, glslang::TLayoutPacking, glslang::TLayoutMat…
4306 int TGlslangToSpvTraverser::getMatrixStride(const glslang::TType& matrixType, glslang::TLayoutPacki… in getMatrixStride() argument
4310 elementType.shallowCopy(matrixType); in getMatrixStride()