• Home
  • Raw
  • Download

Lines Matching refs:scalarSize

191 		const int		scalarSize		= getDataTypeScalarSize(m_basicType);  in iterate()  local
197 vector<float> values (numValues*scalarSize); in iterate()
206 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]); in iterate()
207 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]); in iterate()
208 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]); in iterate()
209 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]); in iterate()
216 vector<int> values (numValues*scalarSize); in iterate()
225 if (scalarSize == 1) gl.uniform1iv(location, numValues, &values[0]); in iterate()
226 else if (scalarSize == 2) gl.uniform2iv(location, numValues, &values[0]); in iterate()
227 else if (scalarSize == 3) gl.uniform3iv(location, numValues, &values[0]); in iterate()
228 else if (scalarSize == 4) gl.uniform4iv(location, numValues, &values[0]); in iterate()
234 vector<deUint32> values (numValues*scalarSize); in iterate()
243 if (scalarSize == 1) gl.uniform1uiv(location, numValues, &values[0]); in iterate()
244 else if (scalarSize == 2) gl.uniform2uiv(location, numValues, &values[0]); in iterate()
245 else if (scalarSize == 3) gl.uniform3uiv(location, numValues, &values[0]); in iterate()
246 else if (scalarSize == 4) gl.uniform4uiv(location, numValues, &values[0]); in iterate()
252 vector<int> values (numValues*scalarSize); in iterate()
261 if (scalarSize == 1) gl.uniform1iv(location, numValues, &values[0]); in iterate()
262 else if (scalarSize == 2) gl.uniform2iv(location, numValues, &values[0]); in iterate()
263 else if (scalarSize == 3) gl.uniform3iv(location, numValues, &values[0]); in iterate()
264 else if (scalarSize == 4) gl.uniform4iv(location, numValues, &values[0]); in iterate()
271 vector<float> values (numValues*scalarSize); in iterate()