[Mesa-dev] [PATCH 2/3] mesa: Introduce enabled bitfield helper functions.

2012-01-11 Thread Mathias Froehlich
Depending on the installed shader type, different arrays are used from gl_array_object. Provide helper functions that compute the bitmask of these arrays that are finally enabled for a given shader type. The will be used in a followup change. Signed-off-by: Mathias Fröhlich --- src/mesa/main/arr

Re: [Mesa-dev] [PATCH 2/3] mesa: Introduce enabled bitfield helper functions.

2011-12-30 Thread Eric Anholt
On Thu, 29 Dec 2011 23:13:57 +0100, Mathias Froehlich wrote: > +/** Returns the bitmask of all enabled arrays in fixed function mode. > + * > + * In fixed function mode only the traditional fixed function arrays > + * are available. > + */ > +static inline GLbitfield64 > +_mesa_array_object_get

[Mesa-dev] [PATCH 2/3] mesa: Introduce enabled bitfield helper functions.

2011-12-29 Thread Mathias Froehlich
Depending on the installed shader type, different arrays are used from gl_array_object. Provide helper functions that compute the bitmask of these arrays that are finally enabled for a given shader type. The will be used in a followup change. Signed-off-by: Mathias Fröhlich --- src/mesa/main/arr