diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2021-02-22 19:04:39 -0800 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-02-25 21:03:49 +0000 |
commit | 5005cbc7ed203ad3fb1d9aa4e49139e14841565d (patch) | |
tree | 3b45efb6919b2f32aa64278a3b8db59999e43ee2 /src/mesa/drivers/dri/i965/brw_clear.c | |
parent | 95bd5fc4639d9debc37487faac35c70c626f91a2 (diff) |
i965: Eliminate all tabs except in brw_defines.h
For a while we were doing 3-space indent with 8-space tabs, largely
due to the emacs settings of a couple of contributors. We stopped
using tabs a long time ago, and they're just a nuisance at this point.
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9207>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clear.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clear.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index 615f6862558..9d59c4ff71c 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -66,8 +66,8 @@ debug_mask(const char *name, GLbitfield mask) if (INTEL_DEBUG & DEBUG_BLIT) { DBG("%s clear:", name); for (i = 0; i < BUFFER_COUNT; i++) { - if (mask & (1 << i)) - DBG(" %s", buffer_names[i]); + if (mask & (1 << i)) + DBG(" %s", buffer_names[i]); } DBG("\n"); } @@ -155,7 +155,7 @@ brw_fast_clear_depth(struct gl_context *ctx) if (devinfo->gen == 6 && (minify(mt->surf.phys_level0_sa.width, depth_irb->mt_level - mt->first_level) % 16) != 0) - return false; + return false; break; default: @@ -258,8 +258,8 @@ brw_clear(struct gl_context *ctx, GLbitfield mask) if (mask & BUFFER_BIT_DEPTH) { if (brw_fast_clear_depth(ctx)) { - DBG("fast clear: depth\n"); - mask &= ~BUFFER_BIT_DEPTH; + DBG("fast clear: depth\n"); + mask &= ~BUFFER_BIT_DEPTH; } } |