Lines Matching refs:scalarSize
780 const int scalarSize = getDataTypeScalarSize(dataType); in setUniformValue() local
782 const int elemNdx = arrayNdx * scalarSize; in setUniformValue()
784 DE_ASSERT(elemNdx+scalarSize <= (int)val.elements.size()); in setUniformValue()
1195 const int scalarSize = getDataTypeScalarSize(dataType); in execute() local
1199 scalars.resize(numVerticesPerDraw * scalarSize); in execute()
1203 for (int ndx = 0; ndx < scalarSize; ndx++) in execute()
1204 scalars[repNdx*scalarSize + ndx] = val.elements[arrayNdx*scalarSize + ndx].float32; in execute()
1211 for (int ndx = 0; ndx < scalarSize; ndx++) in execute()
1213 float v = (float)val.elements[arrayNdx*scalarSize + ndx].int32; in execute()
1214 DE_ASSERT(val.elements[arrayNdx*scalarSize + ndx].int32 == (int)v); in execute()
1215 scalars[repNdx*scalarSize + ndx] = v; in execute()
1239 DE_ASSERT(scalarSize == numCols*numRows); in execute()
1242 …vertexArrays.push_back(va::Float(attribLoc + i, numRows, numVerticesPerDraw, scalarSize*(int)sizeo… in execute()
1247 vertexArrays.push_back(va::Float(attribLoc, scalarSize, numVerticesPerDraw, 0, &scalars[0])); in execute()