Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
mesa
Commits
83f5f50f
Commit
83f5f50f
authored
Sep 14, 2010
by
Brian Paul
Browse files
mesa: move, redefine MESA_GEOMETRY_PROGRAM
parent
1c0644e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/mesa/main/glheader.h
View file @
83f5f50f
...
...
@@ -122,10 +122,24 @@ typedef void *GLeglImageOES;
#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
#endif
/**
* Special, internal token
* Internal token to represent a GLSL shader program (a collection of
* one or more shaders that get linked together). Note that GLSL
* shaders and shader programs share one name space (one hash table)
* so we need a value that's different from any of the
* GL_VERTEX/FRAGMENT/GEOMETRY_PROGRAM tokens.
*/
#define GL_SHADER_PROGRAM_MESA 0x9999
/**
* Internal token for geometry programs.
* Use the value for GL_GEOMETRY_PROGRAM_NV for now.
*/
#define MESA_GEOMETRY_PROGRAM 0x8c26
#endif
/* GLHEADER_H */
src/mesa/main/mtypes.h
View file @
83f5f50f
...
...
@@ -50,14 +50,6 @@
#define MESA_SHADER_TYPES 3
/**
* Internal token
* Must be simply different than GL_VERTEX_PROGRAM
* and GL_FRAGMENT_PROGRAM_ARB
* FIXME: this will have to be a real GL extension
*/
#define MESA_GEOMETRY_PROGRAM 0x9999
/**
* Color channel data type.
*/
...
...
Bugzilla Migration User
@bugzilla-migration
mentioned in issue
#683
·
Sep 18, 2019
mentioned in issue
#683
mentioned in issue #683
Toggle commit list
Bugzilla Migration User
@bugzilla-migration
mentioned in issue
#684
·
Sep 18, 2019
mentioned in issue
#684
mentioned in issue #684
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment