mirror of https://github.com/PCSX2/pcsx2.git
gsdx-tc: add support of pseudo 8 bits RT conversion
Code is obviously slow but at least it works. It fixes the blur effect of VP2
This commit is contained in:
parent
77e718c61f
commit
9802ba6621
|
@ -129,7 +129,16 @@ GSTextureCache::Source* GSTextureCache::LookupSource(const GIFRegTEX0& TEX0, con
|
|||
|
||||
if(t->m_used && t->m_dirty.empty()) {
|
||||
if (GSUtil::HasSharedBits(bp, psm, t->m_TEX0.TBP0, t->m_TEX0.PSM)) {
|
||||
dst = t;
|
||||
if (psm == PSM_PSMT8) {
|
||||
// It is a complex to convert the code in shader. As a reference, let's do it on the CPU, it will
|
||||
// be slow but
|
||||
// 1/ it just works :)
|
||||
// 2/ even with upscaling
|
||||
// 3/ for both DX and OpenGL
|
||||
Read(t, t->m_valid);
|
||||
} else {
|
||||
dst = t;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue