mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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:
parent
66f635cba0
commit
babd63c644
2 changed files with 2 additions and 2 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Reference in a new issue