diff options
author | Francisco Jerez <[email protected]> | 2016-04-25 17:09:39 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-05-27 23:29:05 -0700 |
commit | b9eab911baa380fea1a3d3393f5944c00aa63076 (patch) | |
tree | 2435854ef1f2194cacbbfacbc274e94e48fd4c4d /src/mesa | |
parent | 796238d9e6eee0b942d34c57bd8bdf0f9c98b6c3 (diff) |
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 <[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 abbf4d89cf8..34ebdc4bb8d 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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)); |