r600g: simplify r600_set_occlusion_query_state
authorMarek Olšák <marek.olsak@amd.com>
Fri, 8 Apr 2016 18:23:51 +0000 (20:23 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 12 Apr 2016 12:29:47 +0000 (14:29 +0200)
commit5248676f87bc94079321ab7fcdee888e4d3f5a4f
treea9c514d1d449e3333d0699c78348af1c72399e51
parentb82893f93ab0f92dd44444e4a311fa253f423226
r600g: simplify r600_set_occlusion_query_state

The caller does the same checking.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c