gallium/radeon: pass old_(perfect_)enable to set_occlusion_query_state
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 8 Sep 2017 09:54:37 +0000 (11:54 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 18 Sep 2017 09:25:19 +0000 (11:25 +0200)
commit66d03d0e3e963f83b15aec910325ae9cce07d092
tree07c94e1105244f510decf9a252824817f29b2471
parent3f6b3d9db72c45e648c8c5943ef949273b110005
gallium/radeon: pass old_(perfect_)enable to set_occlusion_query_state

The callee can derive the current enable state itself.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_query.c
src/gallium/drivers/radeonsi/si_state.c