mesa: don't flag _NEW_DEPTH in Begin/EndQuery if driver implements the functions
authorMarek Olšák <maraeo@gmail.com>
Mon, 15 Apr 2013 01:41:43 +0000 (03:41 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 24 Apr 2013 01:23:23 +0000 (03:23 +0200)
commit43dac2700ca05bc773b3fd84fab6f8c1f83079d6
tree97679d9508f6302b5f41b99520ba12ea09a8b7da
parent629813d9de4a5fc494f8ab172a27240960628780
mesa: don't flag _NEW_DEPTH in Begin/EndQuery if driver implements the functions

We don't want to set the flag for Gallium.

I think only swrast needs the flag to be set for occlusion queries.

v2: fix stats_wm updates in i965

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_cc.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_queryobj.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/main/queryobj.c