Home
last modified time | relevance | path

Searched refs:fHalf4 (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp97 , fHalf4(MakeVectorType("half4", "h4", *fHalf, /*columns=*/4)) in BuiltinTypes()
210 {fHalf.get(), fHalf2.get(), fHalf3.get(), fHalf4.get()}))
232 {fInvalid.get(), fHalf2.get(), fHalf3.get(), fHalf4.get()}))
DSkSLUtil.cpp64 if (type == *context.fTypes.fHalf4 ) { *outType = kHalf4_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h32 const std::unique_ptr<Type> fHalf4; variable
DSkSLIRGenerator.cpp1835 funcDef.declaration().returnType() == *fGenerator->fContext.fTypes.fHalf4) { in findAndDeclareBuiltinVariables()
/external/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp69 return type == *context.fTypes.fHalf4 || type == *context.fTypes.fFloat4; in check_parameters()
124 return type == *context.fTypes.fHalf4 || type == *context.fTypes.fFloat4; in check_main_signature()
172 if (returnType != *context.fTypes.fHalf4) { in check_main_signature()
DSkSLIndexExpression.cpp27 case 4: return *context.fTypes.fHalf4; in IndexType()
DSkSLType.cpp101 case 4: return *context.fTypes.fHalf4; in toCompound()
/external/skia/src/sksl/dsl/priv/
DDSLFPs.cpp58 code.c_str(), DSLWriter::Context().fTypes.fHalf4.get())); in SampleChild()
/external/skia/src/sksl/dsl/
DDSLFunction.cpp27 return type == *DSLWriter::Context().fTypes.fHalf4 || in init()
DDSLType.cpp83 return *context.fTypes.fHalf4; in skslType()
/external/skia/src/sksl/codegen/
DSkSLCPPCodeGenerator.cpp166 if (type == *fContext.fTypes.fFloat4 || type == *fContext.fTypes.fHalf4) { in formatRuntimeValue()
474 if (type == *context.fTypes.fHalf4 ) { return "kHalf4_GrSLType"; } in glsltype_string()
1280 if (varType == *fContext.fTypes.fHalf4) { in writeGetKey()
DSkSLHCodeGenerator.cpp66 } else if (type == *context.fTypes.fFloat4 || type == *context.fTypes.fHalf4) { in ParameterCType()
DSkSLDSLCPPCodeGenerator.cpp157 if (type == *fContext.fTypes.fFloat4 || type == *fContext.fTypes.fHalf4) { in formatRuntimeValue()
1327 if (varType == *fContext.fTypes.fHalf4) { in writeGetKey()
DSkSLPipelineStageCodeGenerator.cpp181 SkASSERT(arguments[1]->type() == *fProgram.fContext->fTypes.fHalf4 || in writeFunctionCall()
DSkSLMetalCodeGenerator.cpp1974 if (r.expression()->type() == *fContext.fTypes.fHalf4) { in writeReturnStatement()
DSkSLVMCodeGenerator.cpp962 SkASSERT(arg->type() == *fProgram.fContext->fTypes.fHalf4 || in writeIntrinsicCall()
DSkSLSPIRVCodeGenerator.cpp3564 if (main->returnType() == *fContext.fTypes.fHalf4) { in writeInstructions()
/external/skia/src/core/
DSkRuntimeEffect.cpp105 if (*type == *ctx.fTypes.fHalf4) { v->type = Type::kFloat4; return true; } in init_uniform_type()