llvmpipe: fix a bug in opaque optimization 97/7197/1
authorRoland Scheidegger <sroland@vmware.com>
Thu, 27 Jun 2013 16:54:10 +0000 (18:54 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 27 Jun 2013 17:06:40 +0000 (19:06 +0200)
commit59b8689d3706fbb739d9b15943907ae67f35de95
treea66d7b1d99e093e0f010a29bc6b8c4abf8ccae45
parentf12e5518106155fb2f17ee5e8db40eebafa23b5d
llvmpipe: fix a bug in opaque optimization

If there are queries active the opaque optimization reseting the bin needs to
be disabled.
(Not really tested since the bug was discovered by code inspection not
an actual test failure.)

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_scene.h
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c