HomeSort by relevance Sort by last modified time
    Searched refs:Varying (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/
Shader.h 33 struct Varying
35 Varying(GLenum type, const std::string &name, int size, bool array)
45 int reg; // First varying register, assigned during link
49 typedef std::list<Varying> VaryingList;
95 static bool compareVarying(const Varying &x, const Varying &y);
ProgramBinary.h 40 struct Varying;
124 int packVaryings(InfoLog &infoLog, const Varying *packing[][4], FragmentShader *fragmentShader);
125 bool linkVaryings(InfoLog &infoLog, int registers, const Varying *packing[][4],
134 std::string generateGeometryShaderHLSL(int registers, const Varying *packing[][4], FragmentShader *fragmentShader, VertexShader *vertexShader) const;
135 std::string generatePointSpriteHLSL(int registers, const Varying *packing[][4], FragmentShader *fragmentShader, VertexShader *vertexShader) const;
Shader.cpp 296 mVaryings.push_back(Varying(parseType(varyingType), varyingName, size, array != NULL));
441 // true if varying x has a higher priority in packing than y
442 bool Shader::compareVarying(const Varying &x, const Varying &y)
ProgramBinary.cpp 1005 // Packs varyings into generic varying registers, using the algorithm from [OpenGL ES Shading Language 1.00 rev. 17] appendix A section 7 page 111
1006 // Returns the number of used varying registers, or -1 if unsuccesful
1007 int ProgramBinary::packVaryings(InfoLog &infoLog, const Varying *packing[][4], FragmentShader *fragmentShader)
1013 for (VaryingList::iterator varying = fragmentShader->mVaryings.begin(); varying != fragmentShader->mVaryings.end(); varying++)
1015 int n = VariableRowCount(varying->type) * varying->size;
1016 int m = VariableColumnCount(varying->type);
1038 varying->reg = r
    [all...]

Completed in 402 milliseconds