From 4cd36280e8c9c12e5e5a91adc352a06a47a9935f Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 5 Oct 2017 11:54:56 +0100 Subject: [PATCH] Fix string comparison being the wrong way around on input bytecode check --- qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp b/qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp index 525720801..ffcbd505c 100644 --- a/qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp +++ b/qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp @@ -1175,7 +1175,7 @@ void D3D11PipelineStateViewer::setState() QString VSname = VS[i].semanticIdxName; // misorder or misnamed semantics - if(!IAname.compare(VSname, Qt::CaseInsensitive)) + if(IAname.compare(VSname, Qt::CaseInsensitive)) mismatchDetails += tr("IA bytecode semantic %1: %2 != VS bytecode semantic %1: %3\n") .arg(i) .arg(IAname)