nvc0: fix exposing of metric-issue_slots for SM21/SM30
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 May 2016 20:12:41 +0000 (22:12 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 May 2016 21:18:50 +0000 (23:18 +0200)
commita9bc3211f50069480b0a622bccb9ce10af0dd84a
tree49c7d54c797265b5231b10023231ccd448fc8e8a
parent0af8a7d50ce0fdb8063f7fadd3b78975a2136d87
nvc0: fix exposing of metric-issue_slots for SM21/SM30

This is most likely a copy-paste error when I reworked this area few
weeks ago. For SM20, metric-issue_slots is equal to inst_issued because
there is only one pipeline, so the metric is not exposed there.

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