Version
4.0-618
Branch
index_buffer_cleanup
Date
9 years, 3 months ago
Windows x64 Windows x86 Android
Commit
94387138635d4cfea17ce012c88aeffa8f8a95d6
Change author
degasus
Change description
VideoCommon: merge triangle+list+point index buffers

We are used to render them out of order as long as everything else matches, but rendering order does matter, so we have to flush on primitive switch. This commit implements this flush.
Also as we flush on primitive switch, we don't have to create three different index buffers. All indices are now stored in one buffer.

This will slow down games which switch often primitive types (eg ztp), but it should be more accurate.