r600: cleanup set_occlusion_query_state
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 28 Sep 2017 19:46:30 +0000 (21:46 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 29 Sep 2017 09:47:37 +0000 (11:47 +0200)
commitc49400a03bbea1319aa2b78fd3abb56e22a8b31d
treeb3fc7ae52193cc4d74315f55cd8089bc7a160d63
parent5184a1e8eeddc322d4503b7964e750887372c60d
r600: cleanup set_occlusion_query_state

This fixes a warning caused by the fork (note the change in the function
signature):

../../../../../mesa-src/src/gallium/drivers/r600/r600_state_common.c: In function ‘r600_init_common_state_functions’:
../../../../../mesa-src/src/gallium/drivers/r600/r600_state_common.c:2974:36: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  rctx->b.set_occlusion_query_state = r600_set_occlusion_query_state;

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_pipe_common.h
src/gallium/drivers/r600/r600_query.c
src/gallium/drivers/r600/r600_state_common.c