Home
last modified time | relevance | path

Searched refs:fFloat4 (Results 1 – 20 of 20) sorted by relevance

/external/skia/tests/
DSkSLMemoryLayoutTest.cpp24 REPORTER_ASSERT(r, 16 == layout.size(*context.fTypes.fFloat4)); in DEF_TEST()
41 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fTypes.fFloat4)); in DEF_TEST()
95 SkSL::Type::MakeArrayType(SkSL::String("float4[4]"), *context.fTypes.fFloat4, 4); in DEF_TEST()
111 REPORTER_ASSERT(r, 16 == layout.size(*context.fTypes.fFloat4)); in DEF_TEST()
128 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fTypes.fFloat4)); in DEF_TEST()
182 SkSL::Type::MakeArrayType(SkSL::String("float4[4]"), *context.fTypes.fFloat4, 4); in DEF_TEST()
/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp93 , fFloat4(MakeVectorType("float4", "f4", *fFloat, /*columns=*/4)) in BuiltinTypes()
208 {fFloat.get(), fFloat2.get(), fFloat3.get(), fFloat4.get()})) in BuiltinTypes()
230 {fInvalid.get(), fFloat2.get(), fFloat3.get(), fFloat4.get()}))
DSkSLUtil.cpp57 if (type == *context.fTypes.fFloat4 ) { *outType = kFloat4_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h27 const std::unique_ptr<Type> fFloat4; variable
DSkSLIRGenerator.cpp381 if (var->type() != *fContext.fTypes.fFloat4) { in convertVarDeclaration()
786 Constructor::Convert(fContext, /*offset=*/-1, *fContext.fTypes.fFloat4, in getNormalizeSkPositionCode()
1103 SkASSERT(vd.var().type() == *fContext.fTypes.fFloat4); in convertInterfaceBlock()
DSkSLCompiler.cpp263 symbols->addAlias("vec4", types.fFloat4.get()); in add_glsl_type_aliases()
/external/skia/modules/particles/src/
DSkParticleBinding.cpp55 name, compiler, *compiler.context().fTypes.fFloat4, uniforms, alloc) in SkPathExternalFunction()
173 name, compiler, *compiler.context().fTypes.fFloat4, uniforms, alloc) in SkShaderExternalFunction()
/external/skia/src/sksl/ir/
DSkSLIndexExpression.cpp20 case 4: return *context.fTypes.fFloat4; in IndexType()
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()
DSkSLType.cpp68 case 4: return *context.fTypes.fFloat4; in toCompound()
/external/skia/src/sksl/dsl/
DDSLFunction.cpp28 type == *DSLWriter::Context().fTypes.fFloat4; in init()
DDSLType.cpp109 return *context.fTypes.fFloat4; in skslType()
/external/skia/src/sksl/codegen/
DSkSLHCodeGenerator.cpp66 } else if (type == *context.fTypes.fFloat4 || type == *context.fTypes.fHalf4) { in ParameterCType()
DSkSLCPPCodeGenerator.cpp166 if (type == *fContext.fTypes.fFloat4 || type == *fContext.fTypes.fHalf4) { in formatRuntimeValue()
467 if (type == *context.fTypes.fFloat4 ) { return "kFloat4_GrSLType"; } in glsltype_string()
DSkSLPipelineStageCodeGenerator.cpp182 arguments[1]->type() == *fProgram.fContext->fTypes.fFloat4); in writeFunctionCall()
DSkSLGLSLCodeGenerator.cpp628 SkASSERT(arg1Type == *fContext.fTypes.fFloat4); in writeFunctionCall()
DSkSLDSLCPPCodeGenerator.cpp157 if (type == *fContext.fTypes.fFloat4 || type == *fContext.fTypes.fHalf4) { in formatRuntimeValue()
DSkSLSPIRVCodeGenerator.cpp979 if (arg1Type == *fContext.fTypes.fFloat4) { in writeSpecialIntrinsic()
2133 this->writeWord(this->getType(*fContext.fTypes.fFloat4), out); in writeVariableReference()
DSkSLVMCodeGenerator.cpp963 arg->type() == *fProgram.fContext->fTypes.fFloat4); in writeIntrinsicCall()
/external/skia/src/core/
DSkRuntimeEffect.cpp104 if (*type == *ctx.fTypes.fFloat4) { v->type = Type::kFloat4; return true; } in init_uniform_type()