[Mesa-dev] [PATCH] gallium/util: use enum pipe_prim_type in u_prim.h functions
Brian Paul
brianp at vmware.com
Thu May 26 23:31:52 UTC 2016
On 05/26/2016 05:22 PM, Roland Scheidegger wrote:
> Am 26.05.2016 um 23:14 schrieb Brian Paul:
>> ---
>> src/gallium/auxiliary/util/u_prim.h | 30 ++++++++++++++++--------------
>> 1 file changed, 16 insertions(+), 14 deletions(-)
>
> Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Thanks again, Roland.
BTW, if any newcomers want something easy to do, there's a ton of other
places in gallium where we could now replace 'unsigned' with 'enum
pipe_prim_type' or 'enum pipe_resource_usage', etc.
This is all fall-out from:
commit 0135bd44c2298a8342d65464416fad25b4b1749d
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Apr 16 13:35:08 2016 +0200
gallium: use enums in p_defines.h (v2)
That patch can be used as a hint for what else might be cleaned up.
I probably won't do any more myself for now.
-Brian
More information about the mesa-dev
mailing list