]> git.cworth.org Git - fips/commitdiff
Add an explanatory comment for a surprisingly-unused field.
authorEric Anholt <eric@anholt.net>
Tue, 27 Aug 2013 18:49:58 +0000 (11:49 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 7 Oct 2013 22:52:35 +0000 (15:52 -0700)
In the case we find programs that use non-genned shader program
numbers, we'll need to start actually using the field.

metrics.c

index 19d5df09b0861149310917981a1d7144e64df561..1ebdac75399c9b66b33dd2a5ebd8cc1e8ad1faa0 100644 (file)
--- 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;