mirror of https://github.com/PCSX2/pcsx2.git
gsdx: add optimization note for the future
This commit is contained in:
parent
4808d89449
commit
5b04f4dab9
|
@ -804,6 +804,8 @@ void GSRendererHW::OI_GsMemClear()
|
||||||
|
|
||||||
int format = GSLocalMemory::m_psm[m_context->FRAME.PSM].fmt;
|
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) {
|
if (format == 0) {
|
||||||
// Based on WritePixel32
|
// Based on WritePixel32
|
||||||
for(int y = r.top; y < r.bottom; y++)
|
for(int y = r.top; y < r.bottom; y++)
|
||||||
|
|
Loading…
Reference in New Issue