GPU: Cull off-screen sprites/lines

And further optimizations to culling in general.
This commit is contained in:
Stenzek
2024-07-05 19:38:54 +10:00
parent bc73dacea4
commit ed5a99066f
5 changed files with 91 additions and 115 deletions

View File

@ -217,7 +217,7 @@ private:
u32 height);
/// Expands a line into two triangles.
void DrawLine(float x0, float y0, u32 col0, float x1, float y1, u32 col1, float depth);
void DrawLine(const GSVector4 bounds, u32 col0, u32 col1, float depth);
/// Handles quads with flipped texture coordinate directions.
void HandleFlippedQuadTextureCoordinates(BatchVertex* vertices);