Searched refs:srcStrings (Results 1 – 2 of 2) sorted by relevance
554 const char* srcStrings[10]; in iterate() local563 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()564 srcStrings[i++] = "\n"; in iterate()567 srcStrings[i++] = "out gl_PerVertex {\n" in iterate()571 srcStrings[i++] = "in vec4 a_position;\n"; in iterate()572 srcStrings[i++] = "void main ()\n"; in iterate()573 srcStrings[i++] = "{\n"; in iterate()574 srcStrings[i++] = " gl_Position = a_position;\n"; in iterate()575 srcStrings[i++] = "}\n"; in iterate()577 program = gl.createShaderProgramv(GL_VERTEX_SHADER, i, srcStrings); in iterate()[all …]
41 std::vector<const char *> srcStrings; in operator ()() local44 srcStrings.push_back(mSourcePath.c_str()); in operator ()()46 srcStrings.push_back(mSource.c_str()); in operator ()()48 mResult = sh::Compile(mHandle, &srcStrings[0], srcStrings.size(), mOptions); in operator ()()