mirror of https://github.com/PCSX2/pcsx2.git
gsdx:d3d11: Fix incorrect geometry shader use
The sprite geometry shader was still being used even if the sprites were converted on the CPUs. Convert all sprites using the GPU - the fix isn't ideal, but it'll likely have to do unless someone feels like porting over more of the OpenGL changes to the D3D11 renderer. Closes #1921.
This commit is contained in:
parent
8b245c12ad
commit
4a562401dc
|
@ -70,14 +70,7 @@ void GSRendererDX11::SetupIA(const float& sx, const float& sy)
|
|||
|
||||
break;
|
||||
case GS_SPRITE_CLASS:
|
||||
if (!m_vt.m_accurate_stq && m_vertex.next > 32) { // <=> 16 sprites (based on Shadow Hearts)
|
||||
|
||||
t = D3D11_PRIMITIVE_TOPOLOGY_LINELIST;
|
||||
} else {
|
||||
Lines2Sprites();
|
||||
|
||||
t = D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST;
|
||||
}
|
||||
t = D3D11_PRIMITIVE_TOPOLOGY_LINELIST;
|
||||
break;
|
||||
case GS_TRIANGLE_CLASS:
|
||||
|
||||
|
|
Loading…
Reference in New Issue