mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
i965/fs: fix a comment in compact_virtual_grfs
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
3dc3fccb75
commit
0089d025aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue