mirror of https://github.com/PCSX2/pcsx2.git
gsdx: add/update comment
Need to investigate why the number of vertex is different in upscaled resolution
This commit is contained in:
parent
749037346c
commit
adb8be3287
|
@ -511,7 +511,7 @@ void GSRendererHW::Draw()
|
|||
// Mipmap Linear. Both layers are sampled, only take the big one
|
||||
lod = std::max<int>((int)floor(m_vt.m_lod.x), 0);
|
||||
} else {
|
||||
// On GS lod is an int with 4 decimal digit.
|
||||
// On GS lod is a fixed float number 7:4 (4 bit for the frac part)
|
||||
lod = std::max<int>((int)round(m_vt.m_lod.x + 0.0625), 0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2617,6 +2617,8 @@ __forceinline void GSState::VertexKick(uint32 skip)
|
|||
case GS_TRIANGLESTRIP:
|
||||
case GS_TRIANGLEFAN:
|
||||
case GS_SPRITE:
|
||||
// FIXME: GREG I don't understand the purpose of the m_nativeres check
|
||||
// It impacts badly the number of draw call in the HW renderer.
|
||||
test |= m_nativeres ? pmin.eq16(pmax).zwzwl() : pmin.eq16(pmax);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue