i965: move brw_define.h ifndef guard to the top
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 9 Mar 2017 00:38:21 +0000 (00:38 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Mar 2017 11:16:34 +0000 (11:16 +0000)
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_defines.h

index 28f180b279ee722b792d45cbf219afe297f6aab3..b28699082383039dd2f69cd9ecdc6f6d2ca45ce3 100644 (file)
@@ -29,6 +29,9 @@
   *   Keith Whitwell <keithw@vmware.com>
   */
 
+#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 */