Home | History | Annotate | Download | only in performance

Lines Matching refs:texNdx

157 	for (int texNdx = 0; texNdx < m_numTextures; texNdx++)
158 fragSrc << "uniform " << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(samplerType) << " u_sampler" << texNdx << ";\n";
163 for (int texNdx = 0; texNdx < m_numTextures; texNdx++)
165 if (texNdx == 0)
173 fragSrc << "texture(u_sampler" << texNdx << ", v_coords)";
187 for (int texNdx = 0; texNdx < m_numTextures; texNdx++)
191 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)];
225 for (int texNdx = 0; texNdx < m_numTextures; texNdx++)
227 int samplerLoc = gl.getUniformLocation(program, (string("u_sampler") + de::toString(texNdx)).c_str());
228 gl.uniform1i(samplerLoc, texNdx);
242 for (int texNdx = 0; texNdx < m_numTextures; texNdx++)
244 gl.activeTexture(GL_TEXTURE0 + texNdx);
245 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture());