Currently, Shader::getSource() and Shader::source()->string() may return different results when the associated source is a CompositeStringSource, due to differently implemented composition: The shader implementations concatenate all elements without newlines, while the CompositeStringSource puts newlines in between parts.
What is the benefit of passing all source parts separately to glShaderSource, anyway?
Currently,
Shader::getSource()
andShader::source()->string()
may return different results when the associated source is aCompositeStringSource
, due to differently implemented composition: The shader implementations concatenate all elements without newlines, while theCompositeStringSource
puts newlines in between parts.What is the benefit of passing all source parts separately to
glShaderSource
, anyway?