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:
sudonim1@gmail.com 2012-06-17 18:39:18 +00:00
parent 323ac81a7d
commit e13c58812d
1 changed files with 5 additions and 0 deletions

View File

@ -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;