From 0089d025aa7f7497b3097c5067b589410cd40fbc Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 19 Aug 2014 16:11:36 -0700 Subject: [PATCH] i965/fs: fix a comment in compact_virtual_grfs Signed-off-by: Jason Ekstrand Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 50de9f413b8..e25b9abc3e3 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1776,10 +1776,10 @@ fs_visitor::compact_virtual_grfs() if (unlikely(INTEL_DEBUG & DEBUG_OPTIMIZER)) return; - /* Mark which virtual GRFs are used, and count how many. */ int remap_table[this->virtual_grf_count]; memset(remap_table, -1, sizeof(remap_table)); + /* Mark which virtual GRFs are used. */ foreach_block_and_inst(block, const fs_inst, inst, cfg) { if (inst->dst.file == GRF) remap_table[inst->dst.reg] = 0; -- 2.30.2