X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fparser.cpp;h=d210cee9fe7d97c97dc48e90ec2f3b43ec6a6209;hb=abcd1fa06f9fab27c5934b4069523dd009862b18;hp=ca1f3156d1179b1bd1e9091bdf645e9184e10b67;hpb=f9244b13a4ae30d134dd7410664c045c9f2c1574;p=libs%2Fgl.git diff --git a/source/glsl/parser.cpp b/source/glsl/parser.cpp index ca1f3156..d210cee9 100644 --- a/source/glsl/parser.cpp +++ b/source/glsl/parser.cpp @@ -707,6 +707,8 @@ RefPtr Parser::parse_image_type_declaration() type->sampled = true; else if(token=="shadow") type->shadow = true; + else if(token=="multisample") + type->multisample = true; else throw parse_error(tokenizer.get_location(), token, "image type attribute");