/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnUniformHandler.cpp | 20 return fUniforms[u.toIndex()].fVar; in getUniformVariable() 24 return fUniforms[u.toIndex()].fVar.getName().c_str(); in getUniformCStr() 218 GrShaderVar& var = info.fVar; in internalAddUniformArray() 248 info.fVar.setType(samplerType); in addSampler() 249 info.fVar.setTypeModifier(GrShaderVar::kUniform_TypeModifier); in addSampler() 250 info.fVar.setName(mangleName); in addSampler() 253 info.fVar.addLayoutQualifier(layoutQualifier.c_str()); in addSampler() 263 texInfo.fVar.setType(textureType); in addSampler() 264 texInfo.fVar.setTypeModifier(GrShaderVar::kUniform_TypeModifier); in addSampler() 265 texInfo.fVar.setName(mangleTexName); in addSampler() [all …]
|
D | GrDawnUniformHandler.h | 24 GrShaderVar fVar; member
|
D | GrDawnProgramDataManager.cpp | 29 uniform.fArrayCount = uniformInfo.fVar.getArrayCount(); in GrDawnProgramDataManager() 30 uniform.fType = uniformInfo.fVar.getType(); in GrDawnProgramDataManager()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLVarDeclarations.h | 36 , fVar(var) in VarDeclaration() 43 if (fVar) { in ~VarDeclaration() 44 fVar->detachDeadVarDeclaration(); in ~VarDeclaration() 70 SkASSERT(fVar); in var() 71 return *fVar; in var() 75 fVar = var; in setVar() 98 const Variable* fVar; variable
|
D | SkSLFunctionDefinition.cpp | 35 if (rtAdjust.fVar || rtAdjust.fInterfaceBlock) { in append_rtadjust_fixup_to_vertex_main() 58 : Ref(rtAdjust.fVar)); in append_rtadjust_fixup_to_vertex_main()
|
D | SkSLVarDeclarations.cpp | 185 if (ThreadContext::RTAdjustState().fVar || ThreadContext::RTAdjustState().fInterfaceBlock) { in Convert() 193 ThreadContext::RTAdjustState().fVar = var.get(); in Convert()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLCPPCodeGenerator.cpp | 392 if (decl.fVar == &var) { in getChildFPIndex() 394 } else if (decl.fVar->fType.nonnullable() == *fContext.fFragmentProcessor_Type) { in getChildFPIndex() 532 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement() 587 if (is_private(*decl.fVar)) { in writePrivateVars() 588 if (decl.fVar->fType == *fContext.fFragmentProcessor_Type) { in writePrivateVars() 594 HCodeGenerator::FieldType(fContext, decl.fVar->fType, in writePrivateVars() 595 decl.fVar->fModifiers.fLayout).c_str(), in writePrivateVars() 596 String(decl.fVar->fName).c_str(), in writePrivateVars() 597 default_value(*decl.fVar).c_str()); in writePrivateVars() 598 } else if (decl.fVar->fModifiers.fLayout.fFlags & Layout::kTracked_Flag) { in writePrivateVars() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 812 if (var.fVar->fType.kind() == Type::kSampler_Kind) { in writeFunction() 814 this->writeName(var.fVar->fName); in writeFunction() 816 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction() 819 this->writeName(var.fVar->fName); in writeFunction() 822 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction() 932 this->writeName(var->fVar->fName); in writeFunction() 934 this->writeVarInitializer(*var->fVar, *var->fValue); in writeFunction() 1114 if (global && !(var.fVar->fModifiers.fFlags & Modifiers::kConst_Flag)) { in writeVarDeclarations() 1120 this->writeModifiers(var.fVar->fModifiers, global); in writeVarDeclarations() 1125 this->writeName(var.fVar->fName); in writeVarDeclarations() [all …]
|
D | SkSLPipelineStageCodeGenerator.cpp | 94 if (decl.fVar == &((VariableReference&) *c.fArguments[0]).fVariable) { in writeFunctionCall() 96 } else if (decl.fVar->fType == *fContext.fFragmentProcessor_Type) { in writeFunctionCall() 150 const Variable& var = *((VarDeclaration&) *decl).fVar; in writeVariableReference() 225 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 | 1252 this->writeModifiers(var.fVar->fModifiers, global); in writeFunctionCall() 1258 this->write(var.fVar->fName); in writeFunctionCall() 1268 this->writeVarInitializer(*var.fVar, *var.fValue); in writeFunctionCall() 1270 if (!fFoundExternalSamplerDecl && var.fVar->fType == *fContext.fSamplerExternalOES_Type) { in writeFunctionCall() 1280 if (!fFoundRectSamplerDecl && var.fVar->fType == *fContext.fSampler2DRect_Type) { in writeFunctionCall() 1497 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall() 1504 ((VarDeclaration&) *decl.fVars[0]).fVar->fWriteCount) { in writeFunctionCall()
|
D | SkSLIRGenerator.cpp | 925 if (vd.fVar == fRTAdjust) { in convertInterfaceBlock() 927 SkASSERT(vd.fVar->fType == *fContext.fFloat4_Type); in convertInterfaceBlock() 930 fields.push_back(Type::Field(vd.fVar->fModifiers, vd.fVar->fName, in convertInterfaceBlock() 931 &vd.fVar->fType)); in convertInterfaceBlock() 936 if (vd.fVar->fModifiers.fFlags & (Modifiers::kIn_Flag | in convertInterfaceBlock() 944 if (vd.fVar->fType.kind() == Type::kArray_Kind && in convertInterfaceBlock() 945 vd.fVar->fType.columns() == -1) { in convertInterfaceBlock()
|
D | SkSLCompiler.cpp | 389 (*definitions)[vd.fVar] = &vd.fValue; in addDefinitions() 450 result[((VarDeclaration&) *decl).fVar] = nullptr; in compute_start_state() 1019 if (varDecl.fVar->dead() && in simplifyStatement() 1342 const Variable& var = *((VarDeclaration&) **varIter).fVar; in optimize()
|
D | SkSLByteCodeGenerator.cpp | 65 const Variable* declVar = ((VarDeclaration&) *v).fVar; in generateCode() 409 const Variable* declVar = ((VarDeclaration&) *v).fVar; in getLocation() 1453 int location = getLocation(*decl.fVar); in writeVarDeclarations()
|
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()
|
/third_party/flutter/skia/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()
|
/third_party/skia/include/effects/ |
D | SkRuntimeEffect.h | 302 if (!fVar) { 304 } else if (sizeof(val) != fVar->sizeInBytes()) { 307 memcpy(SkTAddOffset<void>(fOwner->writableUniformData(), fVar->offset), 314 if (!fVar) { 316 } else if (fVar->sizeInBytes() != 9 * sizeof(float)) { 320 (ptrdiff_t)fVar->offset); 331 if (!fVar) { in set() 334 } else if (sizeof(T) * count != fVar->sizeInBytes()) { in set() 338 memcpy(SkTAddOffset<void>(fOwner->writableUniformData(), fVar->offset), in set() 345 const SkRuntimeEffect::Uniform* fVar; // nullptr if the variable was not found member
|
/third_party/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 44 SkASSERT(!var.fVar); in Var() 60 var.fVar = varPtr; in Var() 66 return var.fVar; in Var()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLVar.cpp | 88 std::swap(fVar, other.fVar); in swap() 123 fVar = ThreadContext::SymbolTable()->takeOwnershipOfIRNode(std::make_unique<SkSL::Variable>( in DSLGlobalVar() 136 fVar = &result->as<SkSL::Variable>(); in DSLGlobalVar()
|
D | DSLFunction.cpp | 64 params[i]->fVar = fDecl->parameters()[i]; in init()
|
/third_party/skia/tests/ |
D | SkSLTest.cpp | 35 if (uniform.fVar) { in set_uniform() 43 if (uniform.fVar) { in set_uniform_array()
|
/third_party/skia/src/sksl/ |
D | SkSLThreadContext.h | 114 const Variable* fVar = nullptr; member
|
D | SkSLAnalysis.cpp | 198 : fVar(var) {} in VariableWriteVisitor() 207 if (ref.variable() == fVar && in visitExpression() 218 const Variable* fVar; member in SkSL::__anonfff69e700111::VariableWriteVisitor
|
/third_party/skia/include/sksl/ |
D | DSLVar.h | 129 const SkSL::Variable* fVar = nullptr; variable
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrSkSLFP.cpp | 35 const SkSL::Variable& var = *((SkSL::VarDeclaration&) *varStatement).fVar; in GrSkSLFPFactory()
|