Home
last modified time | relevance | path

Searched refs:functionBody (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp128 SkString functionBody; in appendColorGamutXform() local
131 functionBody.append("\tcolor.rgb = clamp((xform * vec4(color.rgb, 1.0)).rgb, 0.0, color.a);\n"); in appendColorGamutXform()
132 functionBody.append("\treturn color;"); in appendColorGamutXform()
138 functionBody.c_str(), in appendColorGamutXform()
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.h191 …ion &function, TIntermAggregate *functionPrototype, TIntermAggregate *functionBody, const TSourceL…
DParseHelper.cpp1921 …ion &function, TIntermAggregate *functionPrototype, TIntermAggregate *functionBody, const TSourceL… in addFunctionDefinition() argument
1931 …TIntermAggregate *aggregate = intermediate.growAggregate(functionPrototype, functionBody, location… in addFunctionDefinition()
1941 if(functionBody && functionBody->getAsAggregate()) in addFunctionDefinition()
1942 aggregate->setEndLine(functionBody->getAsAggregate()->getEndLine()); in addFunctionDefinition()