i965/fs: Add split_virtual_grfs and compute_to_mrf after lower_load_payload
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 20 Sep 2014 04:03:25 +0000 (21:03 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Sep 2014 17:29:15 +0000 (10:29 -0700)
If we are going to use LOAD_PAYLOAD operations to fill MRF registers, then
we will need this.

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp

index f4f7e40f63a0117915512b20ca324f0681e4350c..56659f3af511ea4018263adb07a3295021d6824b 100644 (file)
@@ -3545,7 +3545,9 @@ fs_visitor::run()
       } while (progress);
 
       if (lower_load_payload()) {
+         split_virtual_grfs();
          register_coalesce();
+         compute_to_mrf();
          dead_code_eliminate();
       }