Add basic vertex data viewer (with the same flaws as the old one)

This commit is contained in:
Henrik Rydgård committed 2024-12-06 09:29:12 +01:00
1 parent dab40ab602
commit 2c8e78408b
7 files changed
+107 -19

No files matched your search

+3
View File
@@ -691,6 +691,9 @@ bool DrawEngineCommon::GetCurrentSimpleVertices(int count, std::vector<GPUDebugV
Matrix4ByMatrix4(worldview, world, view);
Matrix4ByMatrix4(worldviewproj, worldview, gstate.projMatrix);
// This transforms the vertices.
// NOTE: We really should just run the full software transform?
vertices.resize(indexUpperBound + 1);
uint32_t vertType = gstate.vertType;
for (int i = indexLowerBound; i <= indexUpperBound; ++i) {