Home
last modified time | relevance | path

Searched refs:fBuiltin (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLLayout.h109 , fBuiltin(builtin) in Layout()
128 , fBuiltin(-1) in Layout()
163 if (fBuiltin >= 0) { in description()
164 result += separator + "builtin = " + to_string(fBuiltin); in description()
168 result += separator + "input_attachment_index = " + to_string(fBuiltin); in description()
259 fBuiltin == other.fBuiltin &&
281 int fBuiltin; member
DSkSLFunctionDeclaration.h28 , fBuiltin(false) in FunctionDeclaration()
105 bool fBuiltin; member
DSkSLSymbolTable.cpp105 ((FunctionDeclaration&) *pair.second).fBuiltin = true; in markAllFunctionsBuiltin()
109 ((FunctionDeclaration*) f)->fBuiltin = true; in markAllFunctionsBuiltin()
/external/skia/src/sksl/
DSkSLCPPCodeGenerator.cpp79 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression()
133 var.fModifiers.fLayout.fBuiltin == -1; in is_private()
178 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
243 if (c.fFunction.fBuiltin && c.fFunction.fName == "COLORSPACE") { in writeFunctionCall()
258 if (c.fFunction.fBuiltin && c.fFunction.fName == "texture") { in writeFunctionCall()
315 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLGLSLCodeGenerator.cpp155 c.fFunction.fBuiltin) { in writeFunctionCall()
170 c.fFunction.fBuiltin && c.fArguments.size() == 2 && in writeFunctionCall()
183 c.fFunction.fBuiltin && fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall()
190 if (c.fFunction.fName == "texture" && c.fFunction.fBuiltin) { in writeFunctionCall()
320 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
360 switch (f.fBase->fType.fields()[f.fFieldIndex].fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
849 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeProgramElement()
DSkSLSectionAndParameterHelper.h108 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
DSkSLSPIRVCodeGenerator.cpp1013 if (type.fields()[i].fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
1915 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference()
2656 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN) { in writeLayout()
2657 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout()
2683 if (layout.fBuiltin >= 0) { in writeLayout()
2685 layout.fBuiltin, fDecorationBuffer); in writeLayout()
2746 if (var->fModifiers.fLayout.fBuiltin == BUILTIN_IGNORE) { in writeGlobalVars()
2749 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOLOR_BUILTIN && in writeGlobalVars()
DSkSLIRGenerator.cpp274 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
298 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration()
862 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in convertIdentifier()
1361 if (function.fBuiltin && function.fName == "texture" && in call()