D3D11 PipelineStateViewer use UAV tag for CS UAV resources

Fixes problem that going to a compute shader UAV Buffer would not show the correct format for the buffer
This commit is contained in:
Jake Turner committed 2024-07-02 13:49:44 +01:00
1 parent 452f75b966
commit 1307393836
1 file changed
+1 -1
@@ -1737,7 +1737,7 @@ void D3D11PipelineStateViewer::setState()
}
}
addResourceRow(D3D11ViewTag(D3D11ViewTag::SRV, reg, m_Descriptors[i]), shaderBind,
addResourceRow(D3D11ViewTag(D3D11ViewTag::UAV, reg, m_Descriptors[i]), shaderBind,
usedSlot, ui->csUAVs);
}
else