mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
mesa: adjust PRIM_x constants for geometry shaders
These values pertain to display lists, and the new types of geometry shader primitives can be used in display lists. And add new PRIM_MAX constant for follow-on changes. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
aa782f260d
commit
cce6e30613
1 changed files with 4 additions and 3 deletions
|
|
@ -85,9 +85,10 @@ struct set_entry;
|
|||
|
||||
|
||||
/** Extra draw modes beyond GL_POINTS, GL_TRIANGLE_FAN, etc */
|
||||
#define PRIM_OUTSIDE_BEGIN_END (GL_POLYGON+1)
|
||||
#define PRIM_INSIDE_UNKNOWN_PRIM (GL_POLYGON+2)
|
||||
#define PRIM_UNKNOWN (GL_POLYGON+3)
|
||||
#define PRIM_MAX GL_TRIANGLE_STRIP_ADJACENCY
|
||||
#define PRIM_OUTSIDE_BEGIN_END (PRIM_MAX + 1)
|
||||
#define PRIM_INSIDE_UNKNOWN_PRIM (PRIM_MAX + 2)
|
||||
#define PRIM_UNKNOWN (PRIM_MAX + 3)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue