mesa/src/broadcom
Iago Toral Quiroga c11e479852 broadcom/compiler: specify maximum thread count in compile strategies
Once we have exhausted compile strategies at 4 threads and we start
enabling lower thread counts, there is no point in starting compiles
with 4 threads for them, we know these will fail, so let's start at
2 in these cases.

This also has another nice implication: if the driver compiles at 4
threads and fails to register allocate, we were allowing it to try
with 2 threads, but this would only retry the register allocation
process and would not really recompile the shader with 2 threads. This
is not optimal, because at 2 threads we have more TMU fifo space for
each thread and we can do more TMU pipelining, so we were missing that
opportunity.

This improves performance in Sponza by ~1.5% and also seems to help
UE4 slightly.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10647>
2021-05-06 12:27:06 +02:00
..
ci ci/v3d: Update piglit expectations. 2021-04-30 10:22:53 +02:00
cle intel: Rename gen_10 to ver_10 2021-04-20 20:06:34 +00:00
clif v3dv: clif format dumping support 2020-10-13 21:21:26 +00:00
common broadcom/common: move CSD supergroup sizing to a common helper 2021-05-04 15:53:23 +00:00
compiler broadcom/compiler: specify maximum thread count in compile strategies 2021-05-06 12:27:06 +02:00
drm-shim vc4: add drm-shim 2021-01-28 16:14:06 +00:00
qpu broadcom/qpu: rename from VC5 to V3D 2021-04-29 11:22:12 +02:00
simulator broadcom/simulator: change references to VC5 2021-04-29 11:22:12 +02:00
vulkan v3dv: setup loop unrolling 2021-05-06 12:25:22 +02:00
.editorconfig broadcom: add editorconfig 2017-07-25 14:44:52 -07:00
Android.cle.mk android: broadcom/cle: export the broadcom top level path headers 2018-09-15 09:14:46 +02:00
Android.genxml.mk android: broadcom/genxml: fix collision with intel/genxml header-gen macro 2018-09-15 09:14:33 +02:00
Android.mk broadcom/genxml: Introduce a V3D packet/struct decoder. 2017-07-25 14:44:52 -07:00
Makefile.sources v3d: Add a lowering pass for line smoothing 2020-07-06 21:59:16 +00:00
meson.build broadcom/common: move CSD supergroup sizing to a common helper 2021-05-04 15:53:23 +00:00