diff options
author | Roland Scheidegger <[email protected]> | 2014-06-12 19:05:10 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-06-13 20:08:39 +0200 |
commit | 2ea8e2fccfc298e799b47ab172ce0356a7afcd60 (patch) | |
tree | 385fa92f5c4af87bafc0a2e8af9bbb9f9ff1bc92 /src/gallium | |
parent | 03aab2af16778f3ab8130ec664fd6a6066ca869a (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index 6bd917d962f..c209f47f0f5 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -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))) |