Skip to content
Permalink
Browse files

GSdx-hw: SwSpriteRender, improve no rast. check

  • Loading branch information...
AlessandroVetere authored and lightningterror committed Aug 10, 2019
1 parent 924156f commit 1f6b44d5563cbe70159d16f14eee567b2e59dec2
Showing with 1 addition and 2 deletions.
  1. +1 −2 plugins/GSdx/Renderers/HW/GSRendererHW.cpp
@@ -708,7 +708,6 @@ void GSRendererHW::SwSpriteRender()
ASSERT(!PRIM->IIP); // Flat shading method
ASSERT(!PRIM->FGE); // No FOG
ASSERT(!PRIM->AA1); // No antialiasing
ASSERT(!PRIM->FST); // STQ texture coordinates
ASSERT(!PRIM->FIX); // Normal fragment value control

ASSERT(!m_env.DTHE.DTHE); // No dithering
@@ -728,7 +727,7 @@ void GSRendererHW::SwSpriteRender()
// No rasterization required
ASSERT(m_vt.m_eq.rgba == 0xffff);
ASSERT(m_vt.m_eq.z == 0x1);
ASSERT(m_vt.m_eq.q == 0x1);
ASSERT(!PRIM->TME || PRIM->FST || m_vt.m_eq.q == 0x1); // Check Q equality only if texturing enabled and STQ coords used

bool texture_mapping_enabled = PRIM->TME;

0 comments on commit 1f6b44d

Please sign in to comment.
You can’t perform that action at this time.