alignment(const Type *type, bool isPacked) const | SkSL::MetalCodeGenerator | protected |
assembleMatrixFromExpressions(const AnyConstructor &ctor, int columns, int rows) | SkSL::MetalCodeGenerator | protected |
assembleMatrixFromMatrix(const Type &sourceMatrix, int columns, int rows) | SkSL::MetalCodeGenerator | protected |
CodeGenerator(const Context *context, const ShaderCaps *caps, const Program *program, OutputStream *stream) | SkSL::CodeGenerator | inline |
fAnonInterfaceCount | SkSL::MetalCodeGenerator | protected |
fAtLineStart | SkSL::MetalCodeGenerator | protected |
fCaps | SkSL::CodeGenerator | protected |
fContext | SkSL::CodeGenerator | protected |
fCurrentFunction | SkSL::MetalCodeGenerator | protected |
fExtraFunctionPrototypes | SkSL::MetalCodeGenerator | protected |
fExtraFunctions | SkSL::MetalCodeGenerator | protected |
fFoundDerivatives | SkSL::MetalCodeGenerator | protected |
fFunctionHeader | SkSL::MetalCodeGenerator | protected |
fHelpers | SkSL::MetalCodeGenerator | protected |
fIndentation | SkSL::MetalCodeGenerator | protected |
fIndexSubstitutionData | SkSL::MetalCodeGenerator | protected |
finishLine() | SkSL::MetalCodeGenerator | protected |
fInterfaceBlockNameMap | SkSL::MetalCodeGenerator | protected |
fLineEnding | SkSL::MetalCodeGenerator | protected |
fOut | SkSL::CodeGenerator | protected |
fPaddingCount | SkSL::MetalCodeGenerator | protected |
fProgram | SkSL::CodeGenerator | protected |
fRequirements | SkSL::MetalCodeGenerator | protected |
fReservedWords | SkSL::MetalCodeGenerator | protected |
fRTFlipName | SkSL::MetalCodeGenerator | protected |
fSwizzleHelperCount | SkSL::MetalCodeGenerator | protected |
fUniformBuffer | SkSL::MetalCodeGenerator | protected |
fVarCount | SkSL::MetalCodeGenerator | protected |
fWrittenInverse2 | SkSL::MetalCodeGenerator | protected |
fWrittenInverse3 | SkSL::MetalCodeGenerator | protected |
fWrittenInverse4 | SkSL::MetalCodeGenerator | protected |
fWrittenMatrixCompMult | SkSL::MetalCodeGenerator | protected |
fWrittenOuterProduct | SkSL::MetalCodeGenerator | protected |
generateCode() override | SkSL::MetalCodeGenerator | virtual |
getBitcastIntrinsic(const Type &outType) | SkSL::MetalCodeGenerator | protected |
getInversePolyfill(const ExpressionArray &arguments) | SkSL::MetalCodeGenerator | protected |
getMatrixConstructHelper(const AnyConstructor &c) | SkSL::MetalCodeGenerator | protected |
getTempVariable(const Type &varType) | SkSL::MetalCodeGenerator | protected |
getUniformBinding(const Layout &layout) | SkSL::MetalCodeGenerator | protected |
getUniformSet(const Layout &layout) | SkSL::MetalCodeGenerator | protected |
getVectorFromMat2x2ConstructorHelper(const Type &matrixType) | SkSL::MetalCodeGenerator | protected |
IndexSubstitutionMap typedef | SkSL::MetalCodeGenerator | protected |
INHERITED typedef | SkSL::MetalCodeGenerator | protected |
kFragCoord_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kGlobals_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kInputs_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kInstanceID_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kNo_Requirements | SkSL::MetalCodeGenerator | protectedstatic |
kOutputs_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kSampleMaskIn_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kSamplerSuffix | SkSL::MetalCodeGenerator | protectedstatic |
kSharpenTexturesBias | SkSL::CodeGenerator | protectedstatic |
kTextureSuffix | SkSL::MetalCodeGenerator | protectedstatic |
kThreadgroups_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kUniforms_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
kVertexID_Requirement | SkSL::MetalCodeGenerator | protectedstatic |
matrixConstructHelperIsNeeded(const ConstructorCompound &c) | SkSL::MetalCodeGenerator | protected |
MetalCodeGenerator(const Context *context, const ShaderCaps *caps, const Program *program, OutputStream *out) | SkSL::MetalCodeGenerator | inline |
outputStream() | SkSL::CodeGenerator | inline |
Precedence typedef | SkSL::MetalCodeGenerator | protected |
requirements(const FunctionDeclaration &f) | SkSL::MetalCodeGenerator | protected |
requirements(const Statement *s) | SkSL::MetalCodeGenerator | protected |
Requirements typedef | SkSL::MetalCodeGenerator | protected |
setOutputStream(OutputStream *output) | SkSL::CodeGenerator | inline |
size(const Type *type, bool isPacked) const | SkSL::MetalCodeGenerator | protected |
splatMatrixOf1(const Type &type) | SkSL::MetalCodeGenerator | protected |
typeName(const Type &type) | SkSL::MetalCodeGenerator | protected |
visitGlobalStruct(GlobalStructVisitor *visitor) | SkSL::MetalCodeGenerator | protected |
visitThreadgroupStruct(ThreadgroupStructVisitor *visitor) | SkSL::MetalCodeGenerator | protected |
write(std::string_view s) | SkSL::MetalCodeGenerator | protected |
writeAnyConstructor(const AnyConstructor &c, const char *leftBracket, const char *rightBracket, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeArgumentList(const ExpressionArray &arguments) | SkSL::MetalCodeGenerator | protected |
writeArrayEqualityHelpers(const Type &type) | SkSL::MetalCodeGenerator | protected |
writeBinaryExpression(const BinaryExpression &b, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeBinaryExpressionElement(const Expression &expr, Operator op, const Expression &other, Precedence precedence) | SkSL::MetalCodeGenerator | protected |
writeBlock(const Block &b) | SkSL::MetalCodeGenerator | protected |
writeCastConstructor(const AnyConstructor &c, const char *leftBracket, const char *rightBracket, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeComputeMainInputs() | SkSL::MetalCodeGenerator | protected |
writeConstantVariables() | SkSL::MetalCodeGenerator | protected |
writeConstructorArrayCast(const ConstructorArrayCast &c, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeConstructorCompound(const ConstructorCompound &c, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeConstructorCompoundMatrix(const ConstructorCompound &c, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeConstructorCompoundVector(const ConstructorCompound &c, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeConstructorMatrixResize(const ConstructorMatrixResize &c, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeDoStatement(const DoStatement &d) | SkSL::MetalCodeGenerator | protected |
writeEqualityHelpers(const Type &leftType, const Type &rightType) | SkSL::MetalCodeGenerator | protected |
writeExpression(const Expression &expr, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeExpressionStatement(const ExpressionStatement &s) | SkSL::MetalCodeGenerator | protected |
writeExtension(const Extension &ext) | SkSL::MetalCodeGenerator | protected |
writeFieldAccess(const FieldAccess &f) | SkSL::MetalCodeGenerator | protected |
writeFields(SkSpan< const Field > fields, Position pos) | SkSL::MetalCodeGenerator | protected |
writeForStatement(const ForStatement &f) | SkSL::MetalCodeGenerator | protected |
writeFragCoord() | SkSL::MetalCodeGenerator | protected |
writeFunction(const FunctionDefinition &f) | SkSL::MetalCodeGenerator | protected |
writeFunctionCall(const FunctionCall &c) | SkSL::MetalCodeGenerator | protected |
writeFunctionDeclaration(const FunctionDeclaration &f) | SkSL::MetalCodeGenerator | protected |
writeFunctionPrototype(const FunctionPrototype &f) | SkSL::MetalCodeGenerator | protected |
writeFunctionRequirementArgs(const FunctionDeclaration &f, const char *&separator) | SkSL::MetalCodeGenerator | protected |
writeFunctionRequirementParams(const FunctionDeclaration &f, const char *&separator) | SkSL::MetalCodeGenerator | protected |
writeGlobalInit() | SkSL::MetalCodeGenerator | protected |
writeGlobalStruct() | SkSL::MetalCodeGenerator | protected |
writeHeader() | SkSL::MetalCodeGenerator | protected |
writeIfStatement(const IfStatement &stmt) | SkSL::MetalCodeGenerator | protected |
writeIndexExpression(const IndexExpression &expr) | SkSL::MetalCodeGenerator | protected |
writeIndexInnerExpression(const Expression &expr) | SkSL::MetalCodeGenerator | protected |
writeInputStruct() | SkSL::MetalCodeGenerator | protected |
writeInterfaceBlock(const InterfaceBlock &intf) | SkSL::MetalCodeGenerator | protected |
writeInterfaceBlocks() | SkSL::MetalCodeGenerator | protected |
writeIntrinsicCall(const FunctionCall &c, IntrinsicKind kind) | SkSL::MetalCodeGenerator | protected |
writeLayout(const Layout &layout) | SkSL::MetalCodeGenerator | protected |
writeLine(std::string_view s=std::string_view()) | SkSL::MetalCodeGenerator | protected |
writeLiteral(const Literal &f) | SkSL::MetalCodeGenerator | protected |
writeMatrixCompMult() | SkSL::MetalCodeGenerator | protected |
writeMatrixDivisionHelpers(const Type &type) | SkSL::MetalCodeGenerator | protected |
writeMatrixEqualityHelpers(const Type &left, const Type &right) | SkSL::MetalCodeGenerator | protected |
writeMatrixTimesEqualHelper(const Type &left, const Type &right, const Type &result) | SkSL::MetalCodeGenerator | protected |
writeMinAbsHack(Expression &absExpr, Expression &otherExpr) | SkSL::MetalCodeGenerator | protected |
writeModifiers(ModifierFlags flags) | SkSL::MetalCodeGenerator | protected |
writeName(std::string_view name) | SkSL::MetalCodeGenerator | protected |
writeNumberAsMatrix(const Expression &expr, const Type &matrixType) | SkSL::MetalCodeGenerator | protected |
writeOuterProduct() | SkSL::MetalCodeGenerator | protected |
writeOutputStruct() | SkSL::MetalCodeGenerator | protected |
writePostfixExpression(const PostfixExpression &p, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writePrecisionModifier() | SkSL::MetalCodeGenerator | protected |
writePrefixExpression(const PrefixExpression &p, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeProgramElement(const ProgramElement &e) | SkSL::MetalCodeGenerator | protected |
writeReturnStatement(const ReturnStatement &r) | SkSL::MetalCodeGenerator | protected |
writeReturnStatementFromMain() | SkSL::MetalCodeGenerator | protected |
writeSampler2DPolyfill() | SkSL::MetalCodeGenerator | protected |
writeSimpleIntrinsic(const FunctionCall &c) | SkSL::MetalCodeGenerator | protected |
writeStatement(const Statement &s) | SkSL::MetalCodeGenerator | protected |
writeStatements(const StatementArray &statements) | SkSL::MetalCodeGenerator | protected |
writeStructDefinition(const StructDefinition &s) | SkSL::MetalCodeGenerator | protected |
writeStructDefinitions() | SkSL::MetalCodeGenerator | protected |
writeStructEqualityHelpers(const Type &type) | SkSL::MetalCodeGenerator | protected |
writeSwitchStatement(const SwitchStatement &s) | SkSL::MetalCodeGenerator | protected |
writeSwizzle(const Swizzle &swizzle) | SkSL::MetalCodeGenerator | protected |
writeTernaryExpression(const TernaryExpression &t, Precedence parentPrecedence) | SkSL::MetalCodeGenerator | protected |
writeThreadgroupInit() | SkSL::MetalCodeGenerator | protected |
writeThreadgroupStruct() | SkSL::MetalCodeGenerator | protected |
writeType(const Type &type) | SkSL::MetalCodeGenerator | protected |
writeUniformStruct() | SkSL::MetalCodeGenerator | protected |
writeVarDeclaration(const VarDeclaration &decl) | SkSL::MetalCodeGenerator | protected |
writeVariableReference(const VariableReference &ref) | SkSL::MetalCodeGenerator | protected |
writeVarInitializer(const Variable &var, const Expression &value) | SkSL::MetalCodeGenerator | protected |
writeWithIndexSubstitution(const std::function< void()> &fn) | SkSL::MetalCodeGenerator | protected |
~CodeGenerator()=default | SkSL::CodeGenerator | virtual |