projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5472ae1
)
mesa: add names of geometry shader prims in gl_enums.py
author
Brian Paul
<brianp@vmware.com>
Thu, 2 May 2013 01:15:32 +0000
(19:15 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 2 May 2013 15:03:15 +0000
(09:03 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mapi/glapi/gen/gl_enums.py
patch
|
blob
|
history
diff --git
a/src/mapi/glapi/gen/gl_enums.py
b/src/mapi/glapi/gen/gl_enums.py
index 497eeee4d5dfcee11bb1a376560127955464d99b..806d38445d38ca667a626890a8d7a41d6044fdaf 100644
(file)
--- a/
src/mapi/glapi/gen/gl_enums.py
+++ b/
src/mapi/glapi/gen/gl_enums.py
@@
-114,7
+114,7
@@
const char *_mesa_lookup_enum_by_nr( int nr )
/**
* Primitive names
*/
-static const char *prim_names[PRIM_
UNKNOWN + 1
] = {
+static const char *prim_names[PRIM_
MAX+3
] = {
"GL_POINTS",
"GL_LINES",
"GL_LINE_LOOP",
@@
-125,6
+125,10
@@
static const char *prim_names[PRIM_UNKNOWN + 1] = {
"GL_QUADS",
"GL_QUAD_STRIP",
"GL_POLYGON",
+ "GL_LINES_ADJACENCY",
+ "GL_LINE_STRIP_ADJACENCY",
+ "GL_TRIANGLES_ADJACENCY",
+ "GL_TRIANGLE_STRIP_ADJACENCY",
"outside begin/end",
"unknown state"
};