llvmpipe: Fix queries when screen->num_threads == 0.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Apr 2013 14:40:06 +0000 (15:40 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Apr 2013 14:40:06 +0000 (15:40 +0100)
commit220ef8295c3807c55df69af663ae8689597f9a9e
tree0faf372da02d914135d51372661d119cd82b9bed
parentc4bea00fb39fb1813d220b95f0bc94e6fce8c84a
llvmpipe: Fix queries when screen->num_threads == 0.

That is, when llvmpipe is run in single-threaded mode.

Trivial.

Tested with

  LP_NUM_THREADS=0 glean --run results --overwrite --quick --tests occluQry
src/gallium/drivers/llvmpipe/lp_query.c