Browse Source

i965/fs: Skip remove_duplicate_mrf_writes() during SIMD32 runs.

The pass is disabled in SIMD16 dispatch mode for the same reason, it
cannot handle instructions that write multiple MRF registers at once.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
tags/12.0-branchpoint
Francisco Jerez 9 years ago
parent
commit
b9eab911ba
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/i965/brw_fs.cpp

+ 1
- 1
src/mesa/drivers/dri/i965/brw_fs.cpp View File

@@ -3058,7 +3058,7 @@ fs_visitor::remove_duplicate_mrf_writes()
bool progress = false;

/* Need to update the MRF tracking for compressed instructions. */
if (dispatch_width == 16)
if (dispatch_width >= 16)
return false;

memset(last_mrf_move, 0, sizeof(last_mrf_move));

Loading…
Cancel
Save