i965: move brw_define.h ifndef guard to the top
Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
committed by
Emil Velikov
parent
8c432645bb
commit
077078ce77
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user