X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fbuiltin.cpp;h=12602707db80ca5043b6582f5b6917422cb2f477;hb=91e65bc9e24a6889995081035f6f6f0a78a6c20e;hp=9e0244df1cbd71efe3acb6c915fdda33d8e7ea64;hpb=78f43047696fbb629e4bc9cfb1068e3fef77cb0a;p=libs%2Fgl.git diff --git a/source/glsl/builtin.cpp b/source/glsl/builtin.cpp index 9e0244df..12602707 100644 --- a/source/glsl/builtin.cpp +++ b/source/glsl/builtin.cpp @@ -2,7 +2,6 @@ #include #include "builtin.h" #include "parser.h" -#include "visitor.h" using namespace std; @@ -55,6 +54,14 @@ Module *get_builtins_module() type->kind = BasicTypeDeclaration::INT; shared_body.insert(insert_point, type); + type = new BasicTypeDeclaration; + type->source = BUILTIN_SOURCE; + type->name = "uint"; + type->size = 32; + type->sign = false; + type->kind = BasicTypeDeclaration::INT; + shared_body.insert(insert_point, type); + type = new BasicTypeDeclaration; type->source = BUILTIN_SOURCE; type->name = "float";