projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2841915
)
llvmpipe: move active_query assignment
author
Brian Paul
<brianp@vmware.com>
Thu, 28 Apr 2011 18:41:45 +0000
(12:41 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 28 Apr 2011 18:41:49 +0000
(12:41 -0600)
Fixes piglit regression.
src/gallium/drivers/llvmpipe/lp_setup.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup.c
b/src/gallium/drivers/llvmpipe/lp_setup.c
index 5700918856b7d93632e36f5124a44e8b76b606b0..cbe06e58a788a46b56388b5049a9cd7ad91448e8 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup.c
@@
-1063,10
+1063,10
@@
lp_setup_begin_query(struct lp_setup_context *setup,
/* init the query to its beginning state */
assert(setup->active_query == NULL);
- setup->active_query = pq;
-
set_scene_state(setup, SETUP_ACTIVE, "begin_query");
+ setup->active_query = pq;
+
if (setup->scene) {
if (!lp_scene_bin_everywhere(setup->scene,
LP_RAST_OP_BEGIN_QUERY,