[Mesa-dev] [PATCH 39/41] i965/fs: Add split_virtual_grfs and compute_to_mrf after lower_load_payload

Jason Ekstrand jason at jlekstrand.net
Sat Sep 20 10:23:28 PDT 2014


If we are going to use LOAD_PAYLOAD operations to fill MRF registers, then
we will need this.
---
 src/mesa/drivers/dri/i965/brw_fs.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 7f5b5a8..b971252 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3474,7 +3474,9 @@ fs_visitor::run()
       } while (progress);
 
       if (lower_load_payload()) {
+         split_virtual_grfs();
          register_coalesce();
+         compute_to_mrf();
          dead_code_eliminate();
       }
 
-- 
2.1.0



More information about the mesa-dev mailing list