With the current VAO layout we do not need to make these
fields a bitfield. We get a tight struct layout with this change
for VAO attributes.
v2: Change unsigned char -> GLubyte.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/** Stride as specified with gl*Pointer() */
GLshort Stride;
/** Index into gl_vertex_array_object::BufferBinding[] array */
- unsigned BufferBindingIndex:6;
+ GLubyte BufferBindingIndex;
/**
* Derived effective buffer binding index
* Note that _mesa_update_vao_derived_arrays is called when binding
* the VAO to Array._DrawVAO.
*/
- unsigned _EffBufferBindingIndex:6;
+ GLubyte _EffBufferBindingIndex;
/**
* Derived effective relative offset.
*