[Mesa-dev] [PATCH 12/24] i965/fs: Skip remove_duplicate_mrf_writes() during SIMD32 runs.
Francisco Jerez
currojerez at riseup.net
Fri May 27 03:46:17 UTC 2016
The pass is disabled in SIMD16 dispatch mode for the same reason, it
cannot handle instructions that write multiple MRF registers at once.
---
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 2528876..6d541bf 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3076,7 +3076,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));
--
2.7.3
More information about the mesa-dev
mailing list