We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2c207 commit 53d3b7aCopy full SHA for 53d3b7a
pcsx2/GS/Renderers/HW/GSRendererHW.cpp
@@ -4992,6 +4992,13 @@ void GSRendererHW::HandleProvokingVertexFirst(bool swap_indices)
4992
else
4993
{
4994
// Slow path: de-index and swap the vertex colors. Used in cases where the drawing order matters (lines).
4995
+ GL_PUSH("HW: Rewriting vertices for provoking vertex first.");
4996
+ if (m_index.tail > UINT16_MAX)
4997
+ {
4998
+ GL_INS("HW: Too many vertices to rewrite safely, exiting.");
4999
+ DevCon.Warning("HW: Too many vertices to rewrite safely for provoking vertex first.");
5000
+ return;
5001
+ }
5002
5003
// If all first/last vertices have the same color there is nothing to do.
5004
bool first_eq_last = true;
0 commit comments