diff --git a/qrenderdoc/Windows/Dialogs/CrashDialog.cpp b/qrenderdoc/Windows/Dialogs/CrashDialog.cpp index a1d426e29..4757df7db 100644 --- a/qrenderdoc/Windows/Dialogs/CrashDialog.cpp +++ b/qrenderdoc/Windows/Dialogs/CrashDialog.cpp @@ -70,6 +70,7 @@ CrashDialog::CrashDialog(PersistantConfig &cfg, QVariantMap crashReportJSON, QWi QFileInfo capInfo(m_CaptureFilename); + bool hasEmbeddedFiles = false; if(replayCrash && capInfo.exists()) { // if we have a previous capture, fill out the capture group @@ -98,6 +99,7 @@ CrashDialog::CrashDialog(PersistantConfig &cfg, QVariantMap crashReportJSON, QWi m_Thumbnail = new Thumbnail(cap->GetThumbnail(FileType::JPG, 0)); } + hasEmbeddedFiles = cap->HasEmbeddedDependencies(); } cap->Shutdown(); @@ -159,6 +161,11 @@ CrashDialog::CrashDialog(PersistantConfig &cfg, QVariantMap crashReportJSON, QWi .arg(QUrl::fromLocalFile(m_ReportPath).toString()); } + if(!m_CaptureFilename.isEmpty() && hasEmbeddedFiles) + text += + tr("
Warning: The capture file contains embedded dependency files i.e. shader debug " + "files.
"); + if(m_Config.CheckUpdate_UpdateAvailable) { text +=