mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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:
parent
8c432645bb
commit
077078ce77
1 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue