gallium: replace pipe_driver_query_info::max_value by a union
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 7 Jul 2014 21:49:14 +0000 (23:49 +0200)
committerMartin Peres <martin.peres@linux.intel.com>
Tue, 5 May 2015 21:03:35 +0000 (00:03 +0300)
commit546ec980f850fee067fd1dddad19a8dfd6b7e672
treee1dc8e58f75d3f0ba8b39c68a5e03e36c855421c
parentd5b2832c1151337d37217a30bcb55d7f90dd1b47
gallium: replace pipe_driver_query_info::max_value by a union

This allows queries to return different numeric types.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Martin Peres <martin.peres@free.fr>
src/gallium/auxiliary/hud/hud_driver_query.c
src/gallium/drivers/freedreno/freedreno_query.c
src/gallium/drivers/nouveau/nvc0/nvc0_query.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/include/pipe/p_defines.h