From: Emil Velikov Date: Thu, 9 Mar 2017 00:38:21 +0000 (+0000) Subject: i965: move brw_define.h ifndef guard to the top X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=077078ce77e8653725def01ed291eb486989a9ad;p=mesa.git i965: move brw_define.h ifndef guard to the top Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Emil Velikov Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index 28f180b279e..b2869908238 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -29,6 +29,9 @@ * Keith Whitwell */ +#ifndef BRW_DEFINES_H +#define BRW_DEFINES_H + #include "util/macros.h" #define INTEL_MASK(high, low) (((1u<<((high)-(low)+1))-1)<<(low)) @@ -49,9 +52,6 @@ */ #define REG_MASK(value) ((value) << 16) -#ifndef BRW_DEFINES_H -#define BRW_DEFINES_H - /* 3D state: */ #define CMD_3D_PRIM 0x7b00 /* 3DPRIMITIVE */