mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 16:00:09 +01:00
llvmpipe: increase number of queries which can be binned simultaneously to 64
Gallium (but not OpenGL) does allow nesting of queries, but there's no limit specified (d3d10 has no limit neither). Nevertheless, for practical purposes we need some limit in llvmpipe, otherwise we'd need more complex handling of queries as we need to keep track of all binned queries (this only affects queries which gather data past setup). A limit of 16 is too small though, while 64 would suffice. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
03aab2af16
commit
2ea8e2fccf
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ struct cmd_bin;
|
|||
/* Rasterizer output size going to jit fs, width/height */
|
||||
#define LP_RASTER_BLOCK_SIZE 4
|
||||
|
||||
#define LP_MAX_ACTIVE_BINNED_QUERIES 16
|
||||
#define LP_MAX_ACTIVE_BINNED_QUERIES 64
|
||||
|
||||
#define IMUL64(a, b) (((int64_t)(a)) * ((int64_t)(b)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue