softgpu: Track CLUTs as states for binning.

This way we can have multiple CLUTs in process at once, which helps.
This commit is contained in:
Unknown W. Brackets committed 2022-01-16 08:14:09 -08:00
1 parent ba63d9cf09
commit d6fa301ab1
9 files changed
+45 -14

No files matched your search

+4
View File
@@ -613,6 +613,10 @@ void TransformUnit::Flush() {
GPUDebug::NotifyDraw();
}
void TransformUnit::NotifyClutUpdate(void *src) {
binner_->UpdateClut(src);
}
// TODO: This probably is not the best interface.
// Also, we should try to merge this into the similar function in DrawEngineCommon.
bool TransformUnit::GetCurrentSimpleVertices(int count, std::vector<GPUDebugVertex> &vertices, std::vector<u16> &indices) {