Lines Matching refs:shaderBody
88 …ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) in generateVertexShader() argument
111 << shaderBody << "\n" in generateVertexShader()
130 …ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) in generateFragmentShader() argument
157 << shaderBody << "\n" in generateFragmentShader()
175 << shaderBody << "\n" in generateFragmentShader()
188 …ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) in generateTessControlShader() argument
219 << shaderBody << "\n" in generateTessControlShader()
232 …ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) in generateTessEvaluationShader() argument
264 << shaderBody << "\n" in generateTessEvaluationShader()
1123 std::ostringstream shaderBody; in generateShaders() local
1140 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
1146 shaderBody << " else\n" in generateShaders()
1152 …<< glu::VertexSource(generateVertexShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str())) in generateShaders()
1153 …::FragmentSource(generateFragmentShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str()))); in generateShaders()
1260 std::ostringstream shaderBody; in generateShaders() local
1283 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
1289 shaderBody << " else\n" in generateShaders()
1295 …<< glu::VertexSource(generateVertexShader(m_shaderType, vertexUniformDecl.str(), shaderBody.str())) in generateShaders()
1296 …:FragmentSource(generateFragmentShader(m_shaderType, fragmentUniformDecl.str(), shaderBody.str())); in generateShaders()
1299 …ControlSource(generateTessControlShader(m_shaderType, tessCtrlUniformDecl.str(), shaderBody.str())) in generateShaders()
1300 …ionSource(generateTessEvaluationShader(m_shaderType, tessEvalUniformDecl.str(), shaderBody.str())); in generateShaders()
1480 std::ostringstream shaderBody; in generateShaders() local
1497 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
1503 shaderBody << " else\n" in generateShaders()
1509 …<< glu::VertexSource(generateVertexShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str())) in generateShaders()
1510 …::FragmentSource(generateFragmentShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str()))); in generateShaders()
1584 std::ostringstream shaderBody; in generateShaders() local
1607 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
1613 shaderBody << " else\n" in generateShaders()
1619 …<< glu::VertexSource(generateVertexShader(m_shaderType, vertexUniformDecl.str(), shaderBody.str())) in generateShaders()
1620 …:FragmentSource(generateFragmentShader(m_shaderType, fragmentUniformDecl.str(), shaderBody.str())); in generateShaders()
1623 …ControlSource(generateTessControlShader(m_shaderType, tessCtrlUniformDecl.str(), shaderBody.str())) in generateShaders()
1624 …ionSource(generateTessEvaluationShader(m_shaderType, tessEvalUniformDecl.str(), shaderBody.str())); in generateShaders()
1768 std::ostringstream shaderBody; in generateShaders() local
1787 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
1793 shaderBody << " else\n" in generateShaders()
1799 …<< glu::VertexSource(generateVertexShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str())) in generateShaders()
1800 …::FragmentSource(generateFragmentShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str()))); in generateShaders()
1852 std::ostringstream shaderBody; in generateShaders() local
1892 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
1898 shaderBody << " else\n" in generateShaders()
1904 …<< glu::VertexSource(generateVertexShader(m_shaderType, vertexUniformDecl.str(), shaderBody.str())) in generateShaders()
1905 …:FragmentSource(generateFragmentShader(m_shaderType, fragmentUniformDecl.str(), shaderBody.str())); in generateShaders()
1908 …ControlSource(generateTessControlShader(m_shaderType, tessCtrlUniformDecl.str(), shaderBody.str())) in generateShaders()
1909 …ionSource(generateTessEvaluationShader(m_shaderType, tessEvalUniformDecl.str(), shaderBody.str())); in generateShaders()
2037 std::ostringstream shaderBody; in generateShaders() local
2056 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
2062 shaderBody << " else\n" in generateShaders()
2068 …<< glu::VertexSource(generateVertexShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str())) in generateShaders()
2069 …::FragmentSource(generateFragmentShader(m_shaderType, shaderUniformDecl.str(), shaderBody.str()))); in generateShaders()
2121 std::ostringstream shaderBody; in generateShaders() local
2161 …shaderBody << " " << (bindNdx == 0 ? "if" : "else if") << " (u_arrayNdx == " << de::toString(bindN… in generateShaders()
2167 shaderBody << " else\n" in generateShaders()
2173 …<< glu::VertexSource(generateVertexShader(m_shaderType, vertexUniformDecl.str(), shaderBody.str())) in generateShaders()
2174 …:FragmentSource(generateFragmentShader(m_shaderType, fragmentUniformDecl.str(), shaderBody.str())); in generateShaders()
2177 …ControlSource(generateTessControlShader(m_shaderType, tessCtrlUniformDecl.str(), shaderBody.str())) in generateShaders()
2178 …ionSource(generateTessEvaluationShader(m_shaderType, tessEvalUniformDecl.str(), shaderBody.str())); in generateShaders()