[Mesa-dev] [PATCH] glsl: use enum glsl_interface_packing in more places.

Timothy Arceri timothy.arceri at collabora.com
Mon May 16 23:25:05 UTC 2016


On Wed, 2016-05-11 at 10:50 +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> Although the glsl_types.h stores this in a bitfield,
> we should hide that from everyone else. Hide the cast
> in an accessor method and use the enum everywhere.
> 
> This makes things a bit nicer in gdb, and improves type
> safety.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>


More information about the mesa-dev mailing list