Home
last modified time | relevance | path

Searched refs:newVar (Results 1 – 12 of 12) sorted by relevance

/external/skqp/src/sksl/
DSkSLCPPUniformCTypes.cpp88 String UniformCTypeMapper::dirtyExpression(const String& newVar, const String& oldVar) const { in dirtyExpression() argument
91 std::vector<const String*> values = { &newVar, &oldVar }; in dirtyExpression()
98 String UniformCTypeMapper::saveState(const String& newVar, const String& oldVar) const { in saveState() argument
101 std::vector<const String*> values = { &newVar, &oldVar }; in saveState()
/external/skia/src/sksl/
DSkSLCPPUniformCTypes.cpp69 String UniformCTypeMapper::dirtyExpression(const String& newVar, const String& oldVar) const { in dirtyExpression() argument
70 return eval_template(fDirtyExpressionTemplate, {"${newVar}", "${oldVar}"}, {newVar, oldVar}); in dirtyExpression()
73 String UniformCTypeMapper::saveState(const String& newVar, const String& oldVar) const { in saveState() argument
74 return eval_template(fSaveStateTemplate, {"${newVar}", "${oldVar}"}, {newVar, oldVar}); in saveState()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DHoistConstants.cpp74 auto *newVar = new TVariable(&mSymbolTable, newName.rawName(), &oldVar.getType(), in rewrite() local
76 if (!ReplaceVariable(&mCompiler, &root, &oldVar, newVar)) in rewrite()
DNameEmbeddedUniformStructsMetal.cpp92 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement() local
94 TIntermSymbol *newSymbol = new TIntermSymbol(newVar); in doReplacement()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DSeparateStructFromUniformDeclarations.cpp91 TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, in doReplacement() local
93 TIntermSymbol *newSymbol = new TIntermSymbol(newVar); in doReplacement()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.h184 Instruction* newVar);
Dscalar_replacement_pass.cpp566 Instruction* newVar) { in GetOrCreateInitialValue() argument
571 uint32_t storageId = GetStorageType(newVar)->result_id(); in GetOrCreateInitialValue()
613 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dscalar_replacement_pass.h188 Instruction* newVar);
Dscalar_replacement_pass.cpp566 Instruction* newVar) { in GetOrCreateInitialValue() argument
571 uint32_t storageId = GetStorageType(newVar)->result_id(); in GetOrCreateInitialValue()
613 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.h184 Instruction* newVar);
Dscalar_replacement_pass.cpp565 Instruction* newVar) { in GetOrCreateInitialValue() argument
570 uint32_t storageId = GetStorageType(newVar)->result_id(); in GetOrCreateInitialValue()
612 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
/external/fonttools/Lib/fontTools/varLib/instancer/
D__init__.py308 newVar = TupleVariation(var.axes, var.coordinates)
311 newVar.axes[axisTag] = (-1.0, -1.0, -1 * newPeak)
314 newVar.axes[axisTag] = (newPeak, 1.0, 1.0)
321 newVar.scaleDeltas(scalar1 - scalar2)
323 return [var, newVar]