i965/drm: Use bools for a few flags.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Apr 2017 07:04:29 +0000 (00:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 12 Apr 2017 04:07:45 +0000 (21:07 -0700)
These one bit values are booleans.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_bufmgr.c

index 7f2aa9d85ec0add2ebac752f928c5d24072d68a0..8dda38d12621bee61b0f85509e27e9699ea0b15e 100644 (file)
@@ -109,8 +109,8 @@ struct brw_bufmgr {
    struct hash_table *name_table;
    struct hash_table *handle_table;
 
-   unsigned int has_llc:1;
-   unsigned int bo_reuse:1;
+   bool has_llc:1;
+   bool bo_reuse:1;
 };
 
 static int bo_set_tiling_internal(struct brw_bo *bo, uint32_t tiling_mode,