Minor tweaks to GL pipeline view in Qt, to display format for FBO att.s

This commit is contained in:
baldurk
2017-02-20 12:01:37 +00:00
parent dc46612d37
commit f3c3f82cc4
@@ -1640,6 +1640,7 @@ void GLPipelineStateViewer::setState()
h = tex->height;
d = tex->depth;
a = tex->arraysize;
format = ToQStr(tex->format.strname);
name = tex->name;
typeName = ToQStr(tex->resType);
@@ -1701,7 +1702,7 @@ void GLPipelineStateViewer::setState()
ResourceId ds = dsObjects[dsIdx];
bool filledSlot = (ds != ResourceId());
bool usedSlot = true;
bool usedSlot = filledSlot;
if(showNode(usedSlot, filledSlot))
{
uint32_t w = 1, h = 1, d = 1;
@@ -1725,6 +1726,7 @@ void GLPipelineStateViewer::setState()
h = tex->height;
d = tex->depth;
a = tex->arraysize;
format = ToQStr(tex->format.strname);
name = tex->name;
typeName = ToQStr(tex->resType);
}