From 60da7cb02ac89aadc0566fda60613042c0c136a7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 27 Aug 2013 11:49:58 -0700 Subject: [PATCH] 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. --- metrics.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.43.0