message: Show view in vulkan pipeline state view when significant
diff: @@ -1379,7 +1379,13 @@ void VulkanPipelineStateViewer::addResourceRow(ShaderReflection *shaderDetails,
  bool hasViewDetails =
  setViewDetails(node, *descriptorBind, tex, stageBitsIncluded, samplerString);
  - if(bindType == BindType::ImageSampler && hasViewDetails)
  + if(hasViewDetails)
  + {
  + node->setText(4, tr("%1 viewed by %2")
  + .arg(ToQStr(descriptorBind->resourceResourceId))
  + .arg(ToQStr(descriptorBind->viewResourceId)));
  +
  + if(bindType == BindType::ImageSampler)
  {
  RDTreeWidgetItem *combinedSamp = m_CombinedImageSamplers[node];
  @@ -1393,6 +1399,7 @@ void VulkanPipelineStateViewer::addResourceRow(ShaderReflection *shaderDetails,
  }
  }
  }
  + }
  else if(descriptorBind && buf)
  {
  setViewDetails(node, *descriptorBind, buf, stageBitsIncluded);
  @@ -2452,7 +2459,11 @@ void VulkanPipelineStateViewer::setState()
  targets[i] = true;
  }
  - setViewDetails(node, p, tex, true, QString(), resIdx < 0);
  + bool hasViewDetails = setViewDetails(node, p, tex, true, QString(), resIdx < 0);
  +
  + if(hasViewDetails)
  + node->setText(
  + 1, tr("%1 viewed by %2").arg(ToQStr(p.imageResourceId)).arg(ToQStr(p.viewResourceId)));
  ui->fbAttach->addTopLevelItem(node);
  }
  