Lines Matching defs:source
780 std::ostringstream source;
794 source << (glu::isContextTypeGLCore(m_context.getRenderContext().getType()) ? "#version 450\n" : "#version 310 es\n")
799 source << "layout (location = " << output << ") out mediump vec4 fs_aColor" << output << "; \n";
804 source << "uniform sampler2D uTexture" << uniform << "; \n";
809 source << m_shaderFragmentParameters.functionImplementation;
812 source << "void main () \n"
817 source << this->genFunctionCall(m_shaderFragmentParameters.samplingType, uniformIdx);
850 source << shaderOutputs.str();
851 source << "} \n";
853 m_shaderFragment = source.str();