From c3e521f254f4dc434a3e76b76aed6587475cdfaa Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 10 May 2017 12:18:29 +0100 Subject: [PATCH] Set the tag for samplers on GL so the resource can be opened --- qrenderdoc/Windows/PipelineState/GLPipelineStateViewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qrenderdoc/Windows/PipelineState/GLPipelineStateViewer.cpp b/qrenderdoc/Windows/PipelineState/GLPipelineStateViewer.cpp index e1374fde2..0759c92b4 100644 --- a/qrenderdoc/Windows/PipelineState/GLPipelineStateViewer.cpp +++ b/qrenderdoc/Windows/PipelineState/GLPipelineStateViewer.cpp @@ -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);