mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 15:53:35 +01:00
softgpu: Tune thread minimums better.
Darkstalkers seems more sensitive to these than many other games, this improves performance more.
This commit is contained in:
1 parent
66f635cba0
commit
babd63c644
2 files changed
+2
-2
No files matched your search
@@ -1451,7 +1451,7 @@ void ClearRectangle(const VertexData &v0, const VertexData &v1)
|
||||
minY = std::max(minY, (int)TransformUnit::DrawingToScreen(scissorTL).y);
|
||||
maxY = std::max(0, std::min(maxY, (int)TransformUnit::DrawingToScreen(scissorBR).y + 16));
|
||||
|
||||
constexpr int MIN_LINES_PER_THREAD = 8 * 16;
|
||||
constexpr int MIN_LINES_PER_THREAD = 32 * 16;
|
||||
|
||||
const int w = (maxX - minX) / 16;
|
||||
if (w <= 0)
|
||||
|
||||
@@ -98,7 +98,7 @@ void DrawSprite(const VertexData& v0, const VertexData& v1) {
|
||||
|
||||
bool isWhite = v1.color0 == Vec4<int>(255, 255, 255, 255);
|
||||
|
||||
constexpr int MIN_LINES_PER_THREAD = 8;
|
||||
constexpr int MIN_LINES_PER_THREAD = 32;
|
||||
|
||||
if (gstate.isTextureMapEnabled()) {
|
||||
// 1:1 (but with mirror support) texture mapping!
|
||||
|
||||
Reference in new issue
Block a user