Re: [Mesa-dev] [PATCH 1/2] gallium/util: comments, var renaming in u_inlines.h

2013-07-26 Thread Brian Paul
On 07/25/2013 06:01 PM, Roland Scheidegger wrote: Am 25.07.2013 19:37, schrieb Brian Paul: The variable 'usage' was being used for two different things. Sometimes for PIPE_USAGE_x and other times for PIPE_TRANSFER_x. This renames usage to access when we're talking about PIPE_TRANSFER_x flags. P

Re: [Mesa-dev] [PATCH 1/2] gallium/util: comments, var renaming in u_inlines.h

2013-07-25 Thread Roland Scheidegger
Am 25.07.2013 19:37, schrieb Brian Paul: > The variable 'usage' was being used for two different things. > Sometimes for PIPE_USAGE_x and other times for PIPE_TRANSFER_x. > This renames usage to access when we're talking about PIPE_TRANSFER_x > flags. Plus, add a bunch of comments to remind us wha

[Mesa-dev] [PATCH 1/2] gallium/util: comments, var renaming in u_inlines.h

2013-07-25 Thread Brian Paul
The variable 'usage' was being used for two different things. Sometimes for PIPE_USAGE_x and other times for PIPE_TRANSFER_x. This renames usage to access when we're talking about PIPE_TRANSFER_x flags. Plus, add a bunch of comments to remind us what's going on. Also, use unsigned for PIPE_TRANSF