svga: change enum pipe_resource_usage back to unsigned
authorBrian Paul <brianp@vmware.com>
Tue, 31 May 2016 13:25:03 +0000 (07:25 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 31 May 2016 16:20:36 +0000 (10:20 -0600)
commit6bea33008e42040335d5a44359be291f0b5ac24f
tree3523565b1d065e0ef3e28846d933a7a780c2f45e
parent7ca55d2da88edb45cd99ef42888de18a61e64b0a
svga: change enum pipe_resource_usage back to unsigned

This parameter is actually a bitmask of PIPE_TRANSFER_x flags.
Change it back to a simple unsigned type.  IIRC, some compilers
complain about masks of enum values.  Also, this make the function
signature match u_resource_vtbl::transfer_map() again.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/svga/svga_resource_buffer.c