[Mesa-dev] [PATCH 11/41] SQUASH: i965/fs: Handle register widths in demote_pull_constants

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


---
 src/mesa/drivers/dri/i965/brw_fs.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 4cabf75..d954523 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2126,6 +2126,7 @@ fs_visitor::demote_pull_constants()
          inst->src[i].file = GRF;
          inst->src[i].reg = dst.reg;
          inst->src[i].reg_offset = 0;
+         inst->src[i].width = dispatch_width;
       }
    }
    invalidate_live_intervals(false);
-- 
2.1.0



More information about the mesa-dev mailing list