gsdx: remove 4Y-old unused code

It was never used.
This commit is contained in:
Gregory Hainaut 2015-10-22 19:51:03 +02:00
parent 56f2e74ff4
commit 87001326f6
1 changed files with 1 additions and 13 deletions

View File

@ -1457,7 +1457,7 @@ void GSState::FlushPrim()
__assume(0); __assume(0);
} }
ASSERT(unused < GSUtil::GetVertexCount(PRIM->PRIM)); ASSERT((int)unused < GSUtil::GetVertexCount(PRIM->PRIM));
} }
if(GSLocalMemory::m_psm[m_context->FRAME.PSM].fmt < 3 && GSLocalMemory::m_psm[m_context->ZBUF.PSM].fmt < 3) if(GSLocalMemory::m_psm[m_context->FRAME.PSM].fmt < 3 && GSLocalMemory::m_psm[m_context->ZBUF.PSM].fmt < 3)
@ -1867,8 +1867,6 @@ template void GSState::Transfer<1>(const uint8* mem, uint32 size);
template void GSState::Transfer<2>(const uint8* mem, uint32 size); template void GSState::Transfer<2>(const uint8* mem, uint32 size);
template void GSState::Transfer<3>(const uint8* mem, uint32 size); template void GSState::Transfer<3>(const uint8* mem, uint32 size);
static hash_map<uint64, uint64> s_tags;
template<int index> void GSState::Transfer(const uint8* mem, uint32 size) template<int index> void GSState::Transfer(const uint8* mem, uint32 size)
{ {
GSPerfMonAutoTimer pmat(&m_perfmon); GSPerfMonAutoTimer pmat(&m_perfmon);
@ -1883,16 +1881,6 @@ template<int index> void GSState::Transfer(const uint8* mem, uint32 size)
{ {
path.SetTag(mem); path.SetTag(mem);
if(0)
{
GIFTag* t = (GIFTag*)mem;
uint64 hash;
if(t->NREG < 8) hash = t->u32[2] & ((1 << t->NREG * 4) - 1);
else if(t->NREG < 16) {hash = t->u32[2]; ((uint32*)&hash)[1] = t->u32[3] & ((1 << (t->NREG - 8) * 4) - 1);}
else hash = t->u64[1];
s_tags[hash] += path.nloop * path.nreg;
}
mem += sizeof(GIFTag); mem += sizeof(GIFTag);
size--; size--;