diff options
author | Jason Ekstrand <[email protected]> | 2014-08-19 16:11:36 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-09-30 10:29:13 -0700 |
commit | 0089d025aa7f7497b3097c5067b589410cd40fbc (patch) | |
tree | 8300143cfa570b738d7206e1f997fbc54b76f712 /src/mesa | |
parent | 3dc3fccb7586e6198c50114d6245017fc9badde8 (diff) |
i965/fs: fix a comment in compact_virtual_grfs
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |