summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderARM64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderARM64.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderARM64.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderARM64.cpp b/Source/Core/VideoCommon/VertexLoaderARM64.cpp
index b65425c451..03bb82d5c2 100644
--- a/Source/Core/VideoCommon/VertexLoaderARM64.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderARM64.cpp
@@ -512,7 +512,11 @@ void VertexLoaderARM64::GenerateVertexLoader()
FlushIcache();
- ASSERT(m_vertex_size == m_src_ofs);
+ ASSERT_MSG(VIDEO, m_vertex_size == m_src_ofs,
+ "Vertex size from vertex loader ({}) does not match expected vertex size ({})!\nVtx "
+ "desc: {:08x} {:08x}\nVtx attr: {:08x} {:08x} {:08x}",
+ m_src_ofs, m_vertex_size, m_VtxDesc.low.Hex, m_VtxDesc.high.Hex, m_VtxAttr.g0.Hex,
+ m_VtxAttr.g1.Hex, m_VtxAttr.g2.Hex);
m_native_vtx_decl.stride = m_dst_ofs;
}