gallium: add pipe_context::get_driver_query_group_info

This will be used to sort counters per group for
GL_AMD_performance_monitor.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
gallium: add a group_id field to pipe_driver_query_info

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
nvc0: use of pipe_driver_query_info::group_id

This adds two groups of queries.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
nvc0: implement pipe_context::get_driver_query_group_info

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