mirror of https://github.com/PCSX2/pcsx2.git
gsdx: add a depth format flag
This commit is contained in:
parent
5035c8bd48
commit
dd98a0b913
|
@ -222,6 +222,7 @@ GSLocalMemory::GSLocalMemory()
|
|||
for(int j = 0; j < 8; j++) m_psm[i].rowOffset[j] = rowOffset32;
|
||||
m_psm[i].blockOffset = blockOffset32;
|
||||
m_psm[i].msk = 0xff;
|
||||
m_psm[i].depth = 0;
|
||||
}
|
||||
|
||||
m_psm[PSM_PSMCT16].pa = &GSLocalMemory::PixelAddress16;
|
||||
|
@ -447,6 +448,11 @@ GSLocalMemory::GSLocalMemory()
|
|||
m_psm[PSM_PSMT8H].msk = 0xc0;
|
||||
m_psm[PSM_PSMT4HL].msk = 0x40;
|
||||
m_psm[PSM_PSMT4HH].msk = 0x80;
|
||||
|
||||
m_psm[PSM_PSMZ32].depth = 1;
|
||||
m_psm[PSM_PSMZ24].depth = 1;
|
||||
m_psm[PSM_PSMZ16].depth = 1;
|
||||
m_psm[PSM_PSMZ16S].depth = 1;
|
||||
}
|
||||
|
||||
GSLocalMemory::~GSLocalMemory()
|
||||
|
|
|
@ -111,7 +111,7 @@ public:
|
|||
GSVector2i bs, pgs;
|
||||
int* rowOffset[8];
|
||||
short* blockOffset;
|
||||
uint8 msk;
|
||||
uint8 msk, depth;
|
||||
};
|
||||
|
||||
static psm_t m_psm[64];
|
||||
|
|
Loading…
Reference in New Issue