diff options
author | Michal Krol <mjkrol@gmail.org> | 2004-03-03 18:10:40 +0000 |
---|---|---|
committer | Michal Krol <mjkrol@gmail.org> | 2004-03-03 18:10:40 +0000 |
commit | 0e7b1d88118621c34f6a7b64abf3ff4b2ff20679 (patch) | |
tree | b5f28d142f46178c30b46f1d1e0e9822306eef55 /src/mesa/shader/grammar_mesa.h | |
parent | e05d4fbf0f9382933ee7b817930f4377ad87b742 (diff) |
Grammar package supporting 8-bit registers.
TODO:
- add checking for duplicate symbols (or is it done already?)
- move all the statics (grammar objects list and last error message)
to the GL context state; I think simple pointer initialized in a
first call to ProgramString() is sufficent.
- apply an optimized version of match() - this will be needed for
glslang compiler.
Diffstat (limited to 'src/mesa/shader/grammar_mesa.h')
-rw-r--r-- | src/mesa/shader/grammar_mesa.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesa/shader/grammar_mesa.h b/src/mesa/shader/grammar_mesa.h new file mode 100644 index 0000000000..77a8804636 --- /dev/null +++ b/src/mesa/shader/grammar_mesa.h @@ -0,0 +1,19 @@ +#ifndef GRAMMAR_MESA_H
+#define GRAMMAR_MESA_H
+
+
+#include "imports.h"
+/* NOTE: include Mesa 3-D specific headers here */
+
+
+typedef GLuint grammar;
+typedef GLubyte byte;
+
+
+#define GRAMMAR_PORT_INCLUDE 1
+#include "grammar.h"
+#undef GRAMMAR_PORT_INCLUDE
+
+
+#endif
+
|