/external/skia/src/sksl/ir/ |
D | SkSLVarDeclarations.h | 36 , fVar(var) in VarDeclaration() 43 if (fVar) { in ~VarDeclaration() 44 fVar->detachDeadVarDeclaration(); in ~VarDeclaration() 65 SkASSERT(fVar); in var() 66 return *fVar; in var() 70 fVar = var; in setVar() 90 const Variable* fVar;
|
/external/skqp/src/sksl/ |
D | SkSLCPPCodeGenerator.cpp | 358 if (decl.fVar == &reference.fVariable) { in getChildFPIndex() 360 } else if (decl.fVar->fType == *fContext.fFragmentProcessor_Type) { in getChildFPIndex() 482 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement() 547 if (is_private(*decl.fVar)) { in writePrivateVars() 548 if (decl.fVar->fType == *fContext.fFragmentProcessor_Type) { in writePrivateVars() 554 HCodeGenerator::FieldType(fContext, decl.fVar->fType, in writePrivateVars() 555 decl.fVar->fModifiers.fLayout).c_str(), in writePrivateVars() 556 String(decl.fVar->fName).c_str(), in writePrivateVars() 557 default_value(*decl.fVar).c_str()); in writePrivateVars() 558 } else if (decl.fVar->fModifiers.fLayout.fFlags & Layout::kTracked_Flag) { in writePrivateVars() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 659 if (var.fVar->fType.kind() == Type::kSampler_Kind) { in writeFunction() 661 this->writeName(var.fVar->fName); in writeFunction() 663 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction() 666 this->writeName(var.fVar->fName); in writeFunction() 669 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction() 774 this->writeName(var->fVar->fName); in writeFunction() 776 this->writeVarInitializer(*var->fVar, *var->fValue); in writeFunction() 956 if (global && !(var.fVar->fModifiers.fFlags & Modifiers::kConst_Flag)) { in writeVarDeclarations() 962 this->writeModifiers(var.fVar->fModifiers, global); in writeVarDeclarations() 967 this->writeName(var.fVar->fName); in writeVarDeclarations() [all …]
|
D | SkSLPipelineStageCodeGenerator.cpp | 90 if (decl.fVar == &((VariableReference&) *c.fArguments[0]).fVariable) { in writeFunctionCall() 92 } else if (decl.fVar->fType == *fContext.fFragmentProcessor_Type) { in writeFunctionCall() 144 const Variable& var = *((VarDeclaration&) *decl).fVar; in writeVariableReference() 220 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
|
D | SkSLSectionAndParameterHelper.h | 48 if (IsParameter(*decl.fVar)) { in SectionAndParameterHelper() 49 fParameters.push_back(decl.fVar); in SectionAndParameterHelper()
|
D | SkSLGLSLCodeGenerator.cpp | 1218 this->writeModifiers(var.fVar->fModifiers, global); in writeFunctionCall() 1224 this->write(var.fVar->fName); in writeFunctionCall() 1234 this->writeVarInitializer(*var.fVar, *var.fValue); in writeFunctionCall() 1236 if (!fFoundImageDecl && var.fVar->fType == *fContext.fImage2D_Type) { in writeFunctionCall() 1242 if (!fFoundExternalSamplerDecl && var.fVar->fType == *fContext.fSamplerExternalOES_Type) { in writeFunctionCall() 1466 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall() 1473 ((VarDeclaration&) *decl.fVars[0]).fVar->fWriteCount) { in writeFunctionCall()
|
D | SkSLIRGenerator.cpp | 837 if (vd.fVar == fRTAdjust) { in convertInterfaceBlock() 839 SkASSERT(vd.fVar->fType == *fContext.fFloat4_Type); in convertInterfaceBlock() 842 fields.push_back(Type::Field(vd.fVar->fModifiers, vd.fVar->fName, in convertInterfaceBlock() 843 &vd.fVar->fType)); in convertInterfaceBlock() 848 if (vd.fVar->fModifiers.fFlags & (Modifiers::kIn_Flag | in convertInterfaceBlock() 856 if (vd.fVar->fType.kind() == Type::kArray_Kind && in convertInterfaceBlock() 857 vd.fVar->fType.columns() == -1) { in convertInterfaceBlock()
|
D | SkSLCompiler.cpp | 376 (*definitions)[vd.fVar] = &vd.fValue; in addDefinitions() 437 result[((VarDeclaration&) *decl).fVar] = nullptr; in compute_start_state() 998 if (varDecl.fVar->dead() && in simplifyStatement()
|
D | SkSLInterpreter.cpp | 164 const Variable* var = ((VarDeclaration&) *decl).fVar; in runStatement()
|
D | SkSLJIT.cpp | 1075 LLVMValueRef alloca = LLVMBuildAlloca(builder, this->getType(decl.fVar->fType), in compileVarDeclarations() 1076 String(decl.fVar->fName).c_str()); in compileVarDeclarations() 1077 fVariables[decl.fVar] = alloca; in compileVarDeclarations()
|
D | SkSLSPIRVCodeGenerator.cpp | 2689 const Variable* var = varDecl.fVar; in writeGlobalVars() 2763 const Variable* var = varDecl.fVar; in writeVarDeclarations()
|
/external/skqp/src/sksl/ir/ |
D | SkSLVarDeclarations.h | 28 , fVar(var) in VarDeclaration() 41 return std::unique_ptr<Statement>(new VarDeclaration(fVar, std::move(sizesClone), in clone() 46 String result = fVar->fName; in description() 60 const Variable* fVar; member 94 String result = ((VarDeclaration&) *fVars[0]).fVar->fModifiers.description() + in description()
|
/external/skia/include/effects/ |
D | SkRuntimeEffect.h | 263 if (!fVar) { 265 } else if (sizeof(val) != fVar->sizeInBytes()) { 268 memcpy(SkTAddOffset<void>(fOwner->writableUniformData(), fVar->offset), 275 if (!fVar) { 277 } else if (fVar->sizeInBytes() != 9 * sizeof(float)) { 280 float* data = SkTAddOffset<float>(fOwner->writableUniformData(), fVar->offset); 291 if (!fVar) { in set() 294 } else if (sizeof(T) * count != fVar->sizeInBytes()) { in set() 298 memcpy(SkTAddOffset<void>(fOwner->writableUniformData(), fVar->offset), in set() 305 const SkRuntimeEffect::Uniform* fVar; // nullptr if the variable was not found member
|
/external/skia/src/sksl/dsl/ |
D | DSLVar.cpp | 46 fVar = DSLWriter::SymbolTable()->takeOwnershipOfIRNode(std::make_unique<SkSL::Variable>( in DSLVar() 58 fVar = &result->as<SkSL::Variable>(); in DSLVar() 123 std::swap(fVar, other.fVar); in swap()
|
D | DSLFunction.cpp | 71 params[i]->fVar = paramVars[i].get(); in init()
|
/external/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 225 if (!var.fVar) { in Var() 238 var.fVar = skslvar.get(); in Var() 245 return *var.fVar; in Var()
|
/external/skia/include/sksl/ |
D | DSLVar.h | 141 const SkSL::Variable* fVar = nullptr; variable
|
/external/skia/tests/ |
D | SkSLTest.cpp | 33 if (uniform.fVar) { in set_uniform()
|
/external/skia/src/sksl/ |
D | SkSLAnalysis.cpp | 253 : fVar(var) {} in VariableWriteVisitor() 262 if (ref.variable() == fVar && in visitExpression() 273 const Variable* fVar; member in SkSL::__anondd4e12040111::VariableWriteVisitor
|
/external/skqp/src/gpu/effects/ |
D | GrSkSLFP.cpp | 33 const SkSL::Variable& var = *((SkSL::VarDeclaration&) *varStatement).fVar; in GrSkSLFPFactory()
|