From: Eric Anholt <eric@anholt.net>
Date: Tue, 27 Aug 2013 18:49:58 +0000 (-0700)
Subject: Add an explanatory comment for a surprisingly-unused field.
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=60da7cb02ac89aadc0566fda60613042c0c136a7;p=fips

Add an explanatory comment for a surprisingly-unused field.

In the case we find programs that use non-genned shader program
numbers, we'll need to start actually using the field.
---

diff --git a/metrics.c b/metrics.c
index 19d5df0..1ebdac7 100644
--- a/metrics.c
+++ b/metrics.c
@@ -37,6 +37,9 @@ typedef struct counter
 
 typedef struct program_metrics
 {
+	/* This happens to also be the index into the
+	 * ctx->program_metrics array currently
+	 */
 	unsigned id;
 	double ticks;
 } program_metrics_t;