X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fdebug.cpp;h=60b7c2477cf093664f4fc2ac8bcfdb52f56fb5b1;hp=c741ed57665b2dfae993073c13b387fcec61b0aa;hb=HEAD;hpb=215d5bed27ad3de92557ae1b631695a036d29741 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)