llvmpipe: increase number of queries which can be binned simultaneously to 64
authorRoland Scheidegger <sroland@vmware.com>
Thu, 12 Jun 2014 17:05:10 +0000 (19:05 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 13 Jun 2014 18:08:39 +0000 (20:08 +0200)
commit2ea8e2fccfc298e799b47ab172ce0356a7afcd60
tree385fa92f5c4af87bafc0a2e8af9bbb9f9ff1bc92
parent03aab2af16778f3ab8130ec664fd6a6066ca869a
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>
src/gallium/drivers/llvmpipe/lp_rast.h