Lines Matching refs:m_Indexes
45 m_Indexes = NULL; in ProgramData()
58 delete [] m_Indexes; in initProgramData()
61 m_Indexes = new IndexInfo[numIndexes]; in initProgramData()
71 delete [] m_Indexes; in ~ProgramData()
74 m_Indexes = NULL; in ~ProgramData()
82 m_Indexes[index].base = base; in setIndexInfo()
83 m_Indexes[index].size = size; in setIndexInfo()
84 m_Indexes[index].type = type; in setIndexInfo()
85 m_Indexes[index].hostLocsPerElement = 1; in setIndexInfo()
86 m_Indexes[index].flags = 0; in setIndexInfo()
87 m_Indexes[index].samplerValue = 0; in setIndexInfo()
104 m_Indexes[index].flags |= flags; in setIndexFlags()
113 GLint dist = location - m_Indexes[i].base; in getIndexForLocation()
126 return m_Indexes[index].type; in getTypeForLocation()
133 if (location >= m_Indexes[i].base && in isValidUniformLocation()
134 location < m_Indexes[i].base + m_Indexes[i].size) in isValidUniformLocation()
146 if (m_Indexes[i].type == GL_SAMPLER_2D) { in getNextSamplerUniform()
148 if (val) *val = m_Indexes[i].samplerValue; in getNextSamplerUniform()
151 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in getNextSamplerUniform()
170 GLint elemIndex = appLoc - m_Indexes[i].base; in setSamplerUniform()
172 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in setSamplerUniform()
173 if (m_Indexes[i].type == GL_SAMPLER_2D) { in setSamplerUniform()
174 m_Indexes[i].samplerValue = val; in setSamplerUniform()
176 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in setSamplerUniform()
222 if (!m_Indexes) { in compileValidationInfo()
228 if (m_Indexes[i].base < 0) continue; in compileValidationInfo()
232 .columns = getColumnsOfType(m_Indexes[i].type), in compileValidationInfo()
233 .rows = getRowsOfType(m_Indexes[i].type), in compileValidationInfo()
234 .isSampler = isSamplerType(m_Indexes[i].type), in compileValidationInfo()
235 .isInt = isIntegerType(m_Indexes[i].type), in compileValidationInfo()
236 .isArray = m_Indexes[i].size > 1, in compileValidationInfo()
237 .isUnsigned = isUnsignedIntType(m_Indexes[i].type), in compileValidationInfo()
238 .isBool = isBoolType(m_Indexes[i].type), in compileValidationInfo()
240 for (GLuint j = 0; j < m_Indexes[i].size; ++j) { in compileValidationInfo()
241 res.add(m_Indexes[i].base + j, info); in compileValidationInfo()