Get rid of glsl.g.in and start working on the semantic actions.

This commit is contained in:
Roberto Raggi
2010-11-11 12:01:37 +01:00
parent 6a5f06d463
commit ca4439bcef
22 changed files with 4847 additions and 8407 deletions

View File

@@ -0,0 +1,25 @@
#ifndef GLSLENGINE_H
#define GLSLENGINE_H
#include "glsl.h"
#include <set>
#include <string>
namespace GLSL {
class GLSL_EXPORT Engine
{
public:
Engine();
~Engine();
const std::string *identifier(const std::string &s);
const std::string *identifier(const char *s, int n);
private:
std::set<std::string> _identifiers;
};
} // namespace GLSL
#endif // GLSLENGINE_H