mirror of https://github.com/PCSX2/pcsx2.git
GSDX: Add a comment explaining something which doesn't matter.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5304 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
323ac81a7d
commit
e13c58812d
|
@ -1011,6 +1011,11 @@ void GSTextureCache::Source::Write(const GSVector4i& r)
|
||||||
|
|
||||||
void GSTextureCache::Source::Flush(uint32 count)
|
void GSTextureCache::Source::Flush(uint32 count)
|
||||||
{
|
{
|
||||||
|
// This function as written will not work for paletted formats copied from framebuffers
|
||||||
|
// because they are 8 or 4 bit formats on the GS and the GS local memory module reads
|
||||||
|
// these into an 8 bit format while the D3D surfaces are 32 bit.
|
||||||
|
// However the function is never called for these cases. This is just for information
|
||||||
|
// should someone wish to use this function for these cases later.
|
||||||
const GSLocalMemory::psm_t& psm = GSLocalMemory::m_psm[m_TEX0.PSM];
|
const GSLocalMemory::psm_t& psm = GSLocalMemory::m_psm[m_TEX0.PSM];
|
||||||
|
|
||||||
int tw = 1 << m_TEX0.TW;
|
int tw = 1 << m_TEX0.TW;
|
||||||
|
|
Loading…
Reference in New Issue