X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fdebug.cpp;fp=source%2Fglsl%2Fdebug.cpp;h=a090c3622079bd9bfeedf2fc517a276d7877d463;hp=c741ed57665b2dfae993073c13b387fcec61b0aa;hb=2b1dc627491c987b0459226dcb8ac6aadd7ee4d3;hpb=c585c065b7831eb6ae05e48edc36953d2534db2b diff --git a/source/glsl/debug.cpp b/source/glsl/debug.cpp index c741ed57..a090c362 100644 --- a/source/glsl/debug.cpp +++ b/source/glsl/debug.cpp @@ -355,6 +355,10 @@ void DumpTree::visit(ImageTypeDeclaration &type) branches.emplace_back(format("Dimensions: %s%s", dims[type.dimensions-1], (type.array ? " array" : ""))); if(type.base_type) branches.emplace_back(format("Element type: %s %s", get_label(*type.base_type), format_type(type.base_type->name))); + if(!type.format.empty()) + branches.emplace_back(format("Texel format: %s", type.format)); + if(type.sampled) + branches.emplace_back("Sampled"); if(type.shadow) branches.emplace_back("Shadow"); if(type.multisample)