mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Set the tag for samplers on GL so the resource can be opened
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user