llvmpipe: bump LP_MAX_THREADS to 32

On my ppc64le machine with 32 hardware threads, this speeds up OpenArena
(1920x1200) from 7.2 fps to 8.1 fps.

Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18415>
This commit is contained in:
Jeremy Rand
2022-09-04 10:17:23 +00:00
committed by Marge Bot
parent 0a06db8fb9
commit 537176181e
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ The Gallium llvmpipe driver is a software rasterizer that uses LLVM to
do runtime code generation. Shaders, point/line/triangle rasterization
and vertex processing are implemented with LLVM IR which is translated
to x86, x86-64, or ppc64le machine code. Also, the driver is
multithreaded to take advantage of multiple CPU cores (up to 8 at this
multithreaded to take advantage of multiple CPU cores (up to 32 at this
time). It's the fastest software rasterizer for Mesa.
Requirements

View File

@@ -66,7 +66,7 @@
#define LP_MAX_SAMPLES 4
#define LP_MAX_THREADS 16
#define LP_MAX_THREADS 32
/**