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()
1202 const int scalarSize = getDataTypeScalarSize(dataType); in execute() local
1206 scalars.resize(numVerticesPerDraw * scalarSize); in execute()
1210 for (int ndx = 0; ndx < scalarSize; ndx++) in execute()
1211 scalars[repNdx*scalarSize + ndx] = val.elements[arrayNdx*scalarSize + ndx].float32; in execute()
1218 for (int ndx = 0; ndx < scalarSize; ndx++) in execute()
1220 float v = (float)val.elements[arrayNdx*scalarSize + ndx].int32; in execute()
1221 DE_ASSERT(val.elements[arrayNdx*scalarSize + ndx].int32 == (int)v); in execute()
1222 scalars[repNdx*scalarSize + ndx] = v; in execute()
1246 DE_ASSERT(scalarSize == numCols*numRows); in execute()
1249 …vertexArrays.push_back(va::Float(attribLoc + i, numRows, numVerticesPerDraw, scalarSize*(int)sizeo… in execute()
1254 vertexArrays.push_back(va::Float(attribLoc, scalarSize, numVerticesPerDraw, 0, &scalars[0])); in execute()