nvc0: store the driver query type for performance metrics
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 May 2016 20:12:42 +0000 (22:12 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 May 2016 21:18:50 +0000 (23:18 +0200)
commit64937615a05a275443d0ae184faa377f35ebfd1f
tree0028928cefe510692c49bddef591462418335ffe
parenta9bc3211f50069480b0a622bccb9ce10af0dd84a
nvc0: store the driver query type for performance metrics

This will allow to use percentages for some metrics because the Gallium
HUD doesn't allow to display floating point numbers and 0 is printed
instead.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c