• Home
  • Raw
  • Download

Lines Matching refs:i

87     for (GLuint i=0;i<m_numIndexes;++i)  in getIndexForLocation()  local
89 GLint dist = location - m_Indexes[i].base; in getIndexForLocation()
92 index = i; in getIndexForLocation()
111 for (GLuint i=0; i<m_numIndexes; i++) { in setupLocationShiftWAR() local
112 if (0 != (m_Indexes[i].base & 0xffff)) { in setupLocationShiftWAR()
141 for(GLuint i=0; i<m_numIndexes; i++) { in locationWARAppToHost() local
142 GLint elemIndex = appLoc - m_Indexes[i].appBase; in locationWARAppToHost()
143 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in locationWARAppToHost()
144 return m_Indexes[i].base + in locationWARAppToHost()
145 elemIndex * m_Indexes[i].hostLocsPerElement; in locationWARAppToHost()
153 for (GLint i = index + 1; i >= 0 && i < (GLint)m_numIndexes; i++) { in getNextSamplerUniform() local
154 if (m_Indexes[i].type == GL_SAMPLER_2D) { in getNextSamplerUniform()
155 if (val) *val = m_Indexes[i].samplerValue; in getNextSamplerUniform()
157 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in getNextSamplerUniform()
163 return i; in getNextSamplerUniform()
171 for (GLuint i = 0; i < m_numIndexes; i++) { in setSamplerUniform() local
172 GLint elemIndex = appLoc - m_Indexes[i].appBase; in setSamplerUniform()
173 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in setSamplerUniform()
174 if (m_Indexes[i].type == GL_TEXTURE_2D) { in setSamplerUniform()
175 m_Indexes[i].samplerValue = val; in setSamplerUniform()
177 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in setSamplerUniform()
193 for (size_t i = 0; i < n; i++) { in attachShader() local
194 if (m_shaders[i] == shader) { in attachShader()
207 for (size_t i = 0; i < n; i++) { in detachShader() local
208 if (m_shaders[i] == shader) { in detachShader()
209 m_shaders.removeAt(i); in detachShader()
343 for (size_t i = 0; i < n; i++) { in setProgramIndexInfo() local
344 GLuint shaderId = pData->getShader(i); in setProgramIndexInfo()