X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fbuiltin.cpp;h=12602707db80ca5043b6582f5b6917422cb2f477;hp=f60d2a8a1d0736ff9d2d171b1a583fd39bedc879;hb=91e65bc9e24a6889995081035f6f6f0a78a6c20e;hpb=2016444ee144ce41f88c48e89c825137ad7e4ec2 diff --git a/source/glsl/builtin.cpp b/source/glsl/builtin.cpp index f60d2a8a..12602707 100644 --- a/source/glsl/builtin.cpp +++ b/source/glsl/builtin.cpp @@ -54,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";