Lines Matching refs:vshaderTxt
76 SkString vshaderTxt(version); in setupShader() local
77 aPosition.appendDecl(glslCaps, &vshaderTxt); in setupShader()
78 vshaderTxt.append(";\n"); in setupShader()
86 aVars.back().appendDecl(glslCaps, &vshaderTxt); in setupShader()
87 vshaderTxt.append(";\n"); in setupShader()
97 oVars.back().appendDecl(glslCaps, &vshaderTxt); in setupShader()
98 vshaderTxt.append(";\n"); in setupShader()
101 vshaderTxt.append( in setupShader()
107 vshaderTxt.appendf("%s = %s;\n", oVars[i].c_str(), aVars[i].c_str()); in setupShader()
112 vshaderTxt.appendf("%s = vec4(0, 0, 0, 1);\n", oVars[i].c_str()); in setupShader()
115 vshaderTxt.append("}\n"); in setupShader()
152 return CreateProgram(gl, vshaderTxt.c_str(), fshaderTxt.c_str()); in setupShader()