From bea9b8e306e8424ffacbdfc99ca2fc91f1c9912b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 24 Nov 2014 23:16:56 -0800 Subject: i965: Alphabetize brw_tracked_state flags and use a consistent style. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most of the dirty flags were listed in some arbitrary order. Some used bonus parenthesis. Some put multiple flags on one line, others put one per line. Some used tabs instead of spaces...but only on some lines. This patch settles on one flag per line, in alphabetical order, using spaces instead of tabs, and sheds the unnecessary parentheses. Sorting was mostly done with vim's visual block feature and !sort, although I alphabetized short lists by hand; it was pretty manual. Signed-off-by: Kenneth Graunke Reviewed-by: Kristian Høgsberg Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_gs_state.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_gs_state.c') diff --git a/src/mesa/drivers/dri/i965/brw_gs_state.c b/src/mesa/drivers/dri/i965/brw_gs_state.c index d0c92fafd0b..698f7eedfdb 100644 --- a/src/mesa/drivers/dri/i965/brw_gs_state.c +++ b/src/mesa/drivers/dri/i965/brw_gs_state.c @@ -91,10 +91,10 @@ brw_upload_gs_unit(struct brw_context *brw) const struct brw_tracked_state brw_gs_unit = { .dirty = { .mesa = 0, - .brw = (BRW_NEW_BATCH | - BRW_NEW_PROGRAM_CACHE | - BRW_NEW_CURBE_OFFSETS | - BRW_NEW_URB_FENCE), + .brw = BRW_NEW_BATCH | + BRW_NEW_CURBE_OFFSETS | + BRW_NEW_PROGRAM_CACHE | + BRW_NEW_URB_FENCE, .cache = CACHE_NEW_FF_GS_PROG }, .emit = brw_upload_gs_unit, -- cgit v1.2.3