mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Minor tweaks to GL pipeline view in Qt, to display format for FBO att.s
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user