Home | History | Annotate | Download | only in opengl

Lines Matching refs:shaderSource

260 struct ShaderSource
265 ShaderSource (void) : shaderType(SHADERTYPE_LAST) {}
266 ShaderSource (glu::ShaderType shaderType_, const std::string& source_) : shaderType(shaderType_), source(source_) { DE_ASSERT(!source_.empty()); }
269 struct VertexSource : public ShaderSource
271 VertexSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_VERTEX, source_) {}
274 struct FragmentSource : public ShaderSource
276 FragmentSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_FRAGMENT, source_) {}
279 struct GeometrySource : public ShaderSource
281 GeometrySource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_GEOMETRY, source_) {}
284 struct ComputeSource : public ShaderSource
286 ComputeSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_COMPUTE, source_) {}
289 struct TessellationControlSource : public ShaderSource
291 TessellationControlSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_TESSELLATION_CONTROL, source_) {}
294 struct TessellationEvaluationSource : public ShaderSource
296 TessellationEvaluationSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_TESSELLATION_EVALUATION, source_) {}
313 ProgramSources& operator<< (const ShaderSource& shaderSource) { sources[shaderSource.shaderType].push_back(shaderSource.source); return *this; }