- rewrite screen triangle drawer to be more modular and better support the hwrenderer shaders
This commit is contained in:
parent
ebe377e5de
commit
f73470dcf4
4 changed files with 389 additions and 10 deletions
|
|
@ -909,6 +909,7 @@ void PolyTriangleThreadData::DrawShadedTriangle(const ShadedTriVertex *const* ve
|
|||
}
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
// Keep varyings in -128 to 128 range if possible
|
||||
// But don't do this for the skycap mode since the V texture coordinate is used for blending
|
||||
if (numclipvert > 0 && drawargs.BlendMode() != TriBlendMode::Skycap)
|
||||
|
|
@ -921,6 +922,7 @@ void PolyTriangleThreadData::DrawShadedTriangle(const ShadedTriVertex *const* ve
|
|||
clippedvert[i].v -= newOriginV;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (twosided && numclipvert > 2)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue