gallium/u_threaded: increase batch size to increase performance
authorMarek Olšák <marek.olsak@amd.com>
Sat, 1 Sep 2018 07:10:27 +0000 (03:10 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Sep 2018 18:31:56 +0000 (14:31 -0400)
commit28e542dcdbb8a1187007b588c2b8f91f92870a24
tree190cf1ff850df640ef48557e227b83826a2014ed
parentebd5806e0fce2bc351255dc50bcb9afa607f35d2
gallium/u_threaded: increase batch size to increase performance

This reduces mutex overhead.

radeonsi: +4.4% performance with piglit/drawoverhead, DrawElements, Ryzen X1700
iris_dri.so: +14% with piglit/drawoverhead, DrawArrays, i7 7700HQ.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/auxiliary/util/u_threaded_context.h