Mesa (master): i965/drm: Use bools for a few flags.
Kenneth Graunke
kwg at kemper.freedesktop.org
Wed Apr 12 04:11:54 UTC 2017
Module: Mesa
Branch: master
Commit: 754b961f384d567b148366fc96f29811e09839c5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=754b961f384d567b148366fc96f29811e09839c5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 11 00:04:29 2017 -0700
i965/drm: Use bools for a few flags.
These one bit values are booleans.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c
index 7f2aa9d85e..8dda38d126 100644
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.c
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c
@@ -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,
More information about the mesa-commit
mailing list