OSDN Git Service

i965: Fix occlusion query when no other WM state updates occur.
authorEric Anholt <eric@anholt.net>
Mon, 23 Mar 2009 19:29:02 +0000 (12:29 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 23 Mar 2009 19:37:00 +0000 (12:37 -0700)
commitc0d6e07909733af054cc592e2cfc6212155b0a9e
tree4f50af71757175c6401f72e987a538e5e255e352
parent1a28750b43d3d5190ad88278945dc7b15209dd3f
i965: Fix occlusion query when no other WM state updates occur.

Turns out that XXX comment was important.  We weren't flagging the WM to
re-update with the statistics enable, so we got zeroes out of our query.

Bug #20740, fixes piglit occlusion_query test.

Signed-off-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_wm_state.c