Searched refs:varying (Results 1 - 25 of 28) sorted by relevance

12

/external/autotest/client/deps/glbench/src/
H A Dyuv2rgb_34.glslv33 varying vec2 yPlane;
34 varying vec2 uvPlane;
H A Dyuv2rgb_1.glslv33 varying vec4 v1;
H A Dyuv2rgb_2.glslv36 varying vec2 lineCounter;
37 varying vec2 yPlane;
38 varying vec2 uPlane;
39 varying vec2 vPlane;
H A Dyuv2rgb_2.glslf41 varying vec2 lineCounter;
42 varying vec2 yPlane;
43 varying vec2 uPlane;
44 varying vec2 vPlane;
H A Dyuv2rgb_3.glslf45 varying vec2 yPlane;
46 varying vec2 uvPlane;
H A Dyuv2rgb_4.glslf44 varying vec2 yPlane;
45 varying vec2 uvPlane;
H A Dyuv2rgb_1.glslf61 varying vec4 v1;
/external/skia/src/gpu/glsl/
H A DGrGLSLVarying.h38 GrGLSLVarying(GrSLType type, Varying varying) argument
39 : fVarying(varying), fType(type), fVsOut(nullptr), fGsIn(nullptr), fGsOut(nullptr),
87 * Notifies the varying handler that this shader will never emit geometry in perspective and
103 GrGLSLVarying* varying,
105 SkASSERT(GrSLTypeIsFloatType(varying->type())); // Integers must use addFlatVarying.
106 this->internalAddVarying(name, varying, precision, false /*flat*/);
110 * addFlatVarying sets up a varying whose value is constant across every fragment. The graphics
116 GrGLSLVarying* varying,
118 this->internalAddVarying(name, varying, precision, true /*flat*/);
125 * is a geometry shader, we will simply take the value of the varying fro
102 addVarying(const char* name, GrGLSLVarying* varying, GrSLPrecision precision = kDefault_GrSLPrecision) argument
115 addFlatVarying(const char* name, GrGLSLVarying* varying, GrSLPrecision precision = kDefault_GrSLPrecision) argument
[all...]
H A DGrGLSLVarying.cpp37 GrGLSLVarying* varying,
43 SkASSERT(varying);
44 v.fType = varying->fType;
49 if (varying->vsVarying()) {
50 varying->fVsOut = v.fVsOut.c_str();
55 varying->fGsIn = v.fVsOut.c_str();
56 varying->fGsOut = v.fGsOut.c_str();
59 if (varying->fsVarying()) {
60 varying->fFsIn = (willUseGeoShader ? v.fGsOut : v.fVsOut).c_str();
36 internalAddVarying(const char* name, GrGLSLVarying* varying, GrSLPrecision precision, bool flat) argument
/external/mesa3d/src/mesa/vbo/
H A Dvbo_split_copy.c69 } varying[VERT_ATTRIB_MAX]; member in struct:copy_context
259 const struct gl_client_array *srcarray = copy->varying[i].array;
260 const GLubyte *srcptr = copy->varying[i].src_ptr + elt * srcarray->StrideB;
262 memcpy(csr, srcptr, copy->varying[i].size);
263 csr += copy->varying[i].size;
280 printf(" varying %d: ", i);
281 for(j = 0; j < copy->varying[i].size / 4; j++)
436 /* Make a list of varying attributes and their vbo's. Also
449 copy->varying[j].attr = i;
450 copy->varying[
[all...]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
H A DSkinnedVertShader.vsh39 varying mediump vec3 Light;
40 varying mediump vec2 TexCoord;
/external/skia/src/gpu/
H A DGrDefaultGeoProcFactory.cpp74 GrGLSLVertToFrag varying(kVec4f_GrSLType);
75 varyingHandler->addVarying("color", &varying);
78 vertBuilder->codeAppendf("%s = vec4(%s.a*%s.bgr, %s.a);", varying.vsOut(),
82 vertBuilder->codeAppendf("%s = %s;\n", varying.vsOut(), gp.inColor()->fName);
84 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, varying.fsIn());
/external/deqp/modules/internal/
H A DditFrameworkTests.cpp593 c.varying = tcu::Vec4(0.0f, 1.0f, 8.0f, -8.0f);
603 c.varying = tcu::Vec4(0.0f, 1.0f, 8.0f, -8.0f);
612 c.varying = tcu::Vec4(0.0f, 1.0f, 8.0f, -8.0f);
621 c.varying = tcu::Vec4(0.0f, 1.0f, 8.0f, -8.0f);
652 c.varying[compNdx] = v;
679 tcu::Vec4 varying; member in struct:dit::__anon4874::ConstantInterpolationTest::SubCase
703 << "color = " << subCase.varying
706 clear (interpolated.getAccess(), subCase.varying - Vec4(0.0f, 0.0f, 0.0f, 1.0f));
763 rr::VertexAttrib(subCase.varying)
811 const UVec4 colorDiff = ulpDiff(color, subCase.varying);
[all...]
/external/swiftshader/src/OpenGL/libGL/
H A DProgram.cpp942 // Packs varyings into generic varying registers.
943 // Returns the number of used varying registers, or -1 if unsuccesful
946 for(glsl::VaryingList::iterator varying = fragmentShader->varyings.begin(); varying != fragmentShader->varyings.end(); varying++)
948 int n = VariableRowCount(varying->type) * varying->size();
949 int m = VariableColumnCount(varying->type);
971 varying->reg = r;
972 varying
[all...]
/external/swiftshader/src/OpenGL/libGLESv2/
H A DProgram.cpp1285 appendToInfoLog("Type of vertex varying %s does not match that of the fragment varying", output->name.c_str());
1297 appendToInfoLog("Fragment varying %s does not match any vertex varying", input->name.c_str());
1341 else // Vertex varying is declared but not written to
1380 for(const glsl::Varying varying : vertexShader->varyings)
1382 if(tfVaryingName == varying.name)
1391 if(hasSubscript && ((static_cast<int>(subscript)) >= varying.size()))
1393 appendToInfoLog("Specified transform feedback varying index out of bounds (%s)", indexedTfVaryingName.c_str());
1397 size_t size = hasSubscript ? 1 : varying
[all...]
/external/deqp/framework/opengl/
H A DgluShaderProgram.hpp312 ProgramSources& operator<< (const TransformFeedbackVarying& varying) { transformFeedbackVaryings.push_back(varying.name); return *this; } argument
/external/swiftshader/src/Shader/
H A DVertexPipeline.cpp554 Vector4f &&varying = v[TexCoord0 + i]; local
556 o[T0 + stage].x = varying.x;
557 o[T0 + stage].y = varying.y;
558 o[T0 + stage].z = varying.z;
559 o[T0 + stage].w = varying.w;
564 Vector4f &&varying = v[TexCoord0 + i]; local
566 o[T0 + stage].x = varying.x;
567 o[T0 + stage].y = varying.y;
568 o[T0 + stage].z = varying.z;
569 o[T0 + stage].w = varying
[all...]
/external/swiftshader/src/OpenGL/compiler/
H A DOutputASM.cpp2751 int OutputASM::varyingRegister(TIntermTyped *varying) argument
2753 int var = lookup(varyings, varying);
2757 var = allocate(varyings, varying);
2758 int componentCount = varying->registerSize();
2759 int registerCount = varying->totalRegisterCount();
2765 mContext.error(varying->getLine(), "Varyings packing failed: Too many varyings", "fragment shader");
2769 if(varying->getQualifier() == EvqPointCoord)
2771 ASSERT(varying->isRegister());
2779 for(int i = 0; i < varying->totalRegisterCount(); i++)
2792 mContext.error(varying
2827 declareVarying(TIntermTyped *varying, int reg) argument
[all...]
H A DOutputASM.h174 int reg; // First varying register, assigned during link
286 int varyingRegister(TIntermTyped *varying);
287 void declareVarying(TIntermTyped *varying, int reg);
/external/deqp/modules/gles31/functional/
H A Des31fTessellationTests.cpp293 //! Helper for handling simple, one-varying transform feedbacks.
301 vector<VaryingT> varying;
304 Result (int n, const vector<VaryingT>& v) : numPrimitives(n), varying(v) {}
2074 success = compareTessCoords(log, m_primitiveType, tessCoordsRef, tfResult.varying) && success;
2232 success = verifyFractionalSpacingSingle(log, m_spacing, outerLevel1, tfResult.varying,
3749 const int half = (int)tfResult.varying.size()/2;
3750 const vector<Vec3> prim0Vertices = vector<Vec3>(tfResult.varying.begin(), tfResult.varying.begin() + half);
3751 const Vec3* const prim1Vertices = &tfResult.varying[half];
4030 if ((int)tfResult.varying
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fTransformFeedbackTests.cpp274 const Varying& varying = *std::find_if(spec.getVaryings().begin(), spec.getVaryings().end(), VaryingNameEquals(varName)); local
277 glu::parseTypePath(name.c_str(), varying.type, varPath);
278 numComponents = glu::getVarType(varying.type, varPath).getScalarSize();
496 const Varying& varying = *std::find_if(varyings.begin(), varyings.end(), VaryingNameEquals(varName)); local
499 glu::parseTypePath(name.c_str(), varying.type, varPath);
501 output.type = glu::getVarType(varying.type, varPath);
1358 // On separate attribs mode maximum component count per varying is 4.
/external/mesa3d/src/glsl/
H A Dast.h365 unsigned varying:1; member in struct:ast_type_qualifier::__anon14990::__anon14991
H A Dast_to_hir.cpp1936 || (qual->flags.q.varying && (state->target == fragment_shader)))
1952 * "The varying qualifier can be used only with the data types
1956 if (qual->flags.q.varying) {
1967 "varying variables must be of base type float");
1977 || (qual->flags.q.varying && (state->target == fragment_shader)))
1980 || (qual->flags.q.varying && (state->target == vertex_shader)))
2120 /* Does the declaration use the deprecated 'attribute' or 'varying'
2124 || qual->flags.q.varying;
2129 * allowed the layout qualifier to be used with 'varying' and 'attribute'.
2153 "`attribute' or `varying'");
[all...]
H A Dglsl_parser_extras.cpp447 if (q->flags.q.varying)
448 printf("varying ");
/external/skia/src/gpu/instanced/
H A DInstanceProcessor.cpp1587 const GrGLSLVarying& varying,
1591 f->codeAppendf("(%s + ", varying.fsIn());
1597 f->codeAppendf("interpolateAtOffset(%s, ", varying.fsIn());
1586 interpolateAtSample(GrGLSLPPFragmentBuilder* f, const GrGLSLVarying& varying, const char* sampleIdx, const char* interpolationMatrix) argument

Completed in 1108 milliseconds

12