mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Add in the Mali driver bug so we can call glFlush every flush. It seemingly is quicker calling flush every time instead of every n times.
This commit is contained in:
parent
7a6eeb5fbd
commit
672871b3be
4 changed files with 26 additions and 0 deletions
|
@ -270,6 +270,8 @@ void VertexManager::vFlush()
|
|||
Draw(stride);
|
||||
if (DriverDetails::HasBug(DriverDetails::BUG_BROKENBUFFERS))
|
||||
GLInterface->Swap();
|
||||
if(DriverDetails::HasBug(DriverDetails::BUG_MALIBROKENBUFFERS))
|
||||
glFlush();
|
||||
g_perf_query->DisableQuery(bpmem.zcontrol.early_ztest ? PQG_ZCOMP_ZCOMPLOC : PQG_ZCOMP);
|
||||
//ERROR_LOG(VIDEO, "PerfQuery result: %d", g_perf_query->GetQueryResult(bpmem.zcontrol.early_ztest ? PQ_ZCOMP_OUTPUT_ZCOMPLOC : PQ_ZCOMP_OUTPUT));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue