From 0e7b1d88118621c34f6a7b64abf3ff4b2ff20679 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Wed, 3 Mar 2004 18:10:40 +0000 Subject: 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. --- src/mesa/shader/grammar_mesa.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/mesa/shader/grammar_mesa.h (limited to 'src/mesa/shader/grammar_mesa.h') 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 + -- cgit v1.2.3