gallium/nvc0: Use an union to store different numeric type for queries

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
gallium: Add more counter type to pipe_driver_query_info

This will be used by GL_AMD_performance_monitor.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
nvc0: Use of new counter types

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
mesa/st: Enable AMD_performance_monitor (this is probably a hack)
[RFC] st/mesa: implement GL_AMD_performance_monitor

This is based on the original patch of Christoph Bumiller.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>