Set the tag for samplers on GL so the resource can be opened

This commit is contained in:
baldurk
2017-05-10 12:18:29 +01:00
parent 5b384f3c4a
commit c3e521f254
@@ -720,6 +720,8 @@ void GLPipelineStateViewer::setShaderState(const GLPipe::Shader &stage, QLabel *
RDTreeWidgetItem *node =
new RDTreeWidgetItem({slotname, name, typeName, w, h, d, a, format, QString()});
node->setTag(QVariant::fromValue(r.Resource));
if(!filledSlot)
setEmptyRow(node);