mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 21:40:22 +01:00
i965/defines: Unconditionally define primitives
This commit is contained in:
parent
6a04968784
commit
db35a851ad
1 changed files with 0 additions and 2 deletions
|
|
@ -63,7 +63,6 @@
|
|||
# define GEN7_3DPRIM_VERTEXBUFFER_ACCESS_SEQUENTIAL (0 << 8)
|
||||
# define GEN7_3DPRIM_VERTEXBUFFER_ACCESS_RANDOM (1 << 8)
|
||||
|
||||
#ifndef _3DPRIM_POINTLIST /* FIXME: Avoid clashing with defines from bdw_pack.h */
|
||||
#define _3DPRIM_POINTLIST 0x01
|
||||
#define _3DPRIM_LINELIST 0x02
|
||||
#define _3DPRIM_LINESTRIP 0x03
|
||||
|
|
@ -87,7 +86,6 @@
|
|||
#define _3DPRIM_TRIFAN_NOSTIPPLE 0x16
|
||||
#define _3DPRIM_PATCHLIST(n) ({ assert(n > 0 && n <= 32); 0x20 + (n - 1); })
|
||||
|
||||
#endif /* bdw_pack.h */
|
||||
|
||||
/* We use this offset to be able to pass native primitive types in struct
|
||||
* _mesa_prim::mode. Native primitive types are BRW_PRIM_OFFSET +
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue