gsdx: add optimization note for the future

This commit is contained in:
Gregory Hainaut 2016-04-28 17:13:14 +02:00
parent 4808d89449
commit 5b04f4dab9
1 changed files with 2 additions and 0 deletions

View File

@ -804,6 +804,8 @@ void GSRendererHW::OI_GsMemClear()
int format = GSLocalMemory::m_psm[m_context->FRAME.PSM].fmt;
// FIXME: loop can likely be optimized with AVX/SSE. Pixels aren't
// linear but the value will be done for all pixels of a block.
if (format == 0) {
// Based on WritePixel32
for(int y = r.top; y < r.bottom; y++)