Lines Matching refs:ProgramSources
175 struct ProgramSources;
186 ShaderProgram (const glw::Functions& gl, const ProgramSources& sources);
187 ShaderProgram (const RenderContext& renderCtx, const ProgramSources& sources);
201 void init (const glw::Functions& gl, const ProgramSources& sources);
215 tcu::TestLog& operator<< (tcu::TestLog& log, const ProgramSources& sources);
219 // ProgramSources utilities and implementation.
299 struct ProgramSources
308 ProgramSources (void) : transformFeedbackBufferMode(0), separable(false) {}
310 ProgramSources& operator<< (const AttribLocationBinding& binding) { attribLocationBindings.push_back(binding); return *this; }
311 ProgramSources& operator<< (const TransformFeedbackMode& mode) { transformFeedbackBufferMode = mode.mode; return *this; }
312 ProgramSources& operator<< (const TransformFeedbackVarying& varying) { transformFeedbackVaryings.push_back(varying.name); return *this; }
313 ProgramSources& operator<< (const ShaderSource& shaderSource) { sources[shaderSource.shaderType].push_back(shaderSource.source); return *this; }
314 ProgramSources& operator<< (const ProgramSeparable& progSeparable) { separable = progSeparable.separable; return *this; }
317 ProgramSources& operator<< (const TransformFeedbackVaryings<Iterator>& varyings);
321 inline ProgramSources& ProgramSources::operator<< (const TransformFeedbackVaryings<Iterator>& varyings)
329 inline ProgramSources makeVtxFragSources (const std::string& vertexSrc, const std::string& fragmentSrc)
331 ProgramSources sources;