diff --git a/pcsx2/GS/GSState.cpp b/pcsx2/GS/GSState.cpp index 60a622c638..8df2202fb2 100644 --- a/pcsx2/GS/GSState.cpp +++ b/pcsx2/GS/GSState.cpp @@ -495,7 +495,11 @@ void GSState::DumpVertices(const std::string& filename) file << uv_U << DEL << uv_V; } else - file << v.ST.S << "(" << std::bit_cast(v.ST.S) << ")" << DEL << v.ST.T << "(" << std::bit_cast(v.ST.T) << ")" << DEL << v.RGBAQ.Q << "(" << std::bit_cast(v.RGBAQ.Q) << ")"; + { + float x = (v.ST.S / v.RGBAQ.Q) * (1 << m_context->TEX0.TW); + float y = (v.ST.T / v.RGBAQ.Q) * (1 << m_context->TEX0.TH); + file << v.ST.S << "(" << std::hex << std::bit_cast(v.ST.S) << ")" << DEL << v.ST.T << "(" << std::hex << std::bit_cast(v.ST.T) << ")" << DEL << v.RGBAQ.Q << "(" << std::hex << std::bit_cast(v.RGBAQ.Q) << ") - " << x << "," << y; + } file << std::endl; }