X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=63e419212f6a68da5f37568d21681d23d8656929;hb=2b1dc627491c987b0459226dcb8ac6aadd7ee4d3;hp=bb00218314053443e3f062e8b251107f1cdad006;hpb=6cb04ca058e463b7d76eba684be89dfc9e77ab29;p=libs%2Fgl.git diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index bb002183..63e41921 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -364,11 +364,14 @@ struct ImageTypeDeclaration: TypeDeclaration Dimensions dimensions = TWO; bool array = false; - bool sampled = true; + bool sampled = false; bool shadow = false; + bool multisample = false; std::string base; + std::string format; TypeDeclaration *base_type = 0; + ImageTypeDeclaration *base_image = 0; virtual ImageTypeDeclaration *clone() const { return new ImageTypeDeclaration(*this); } virtual void visit(NodeVisitor &);