Prevents an assertion failure in the following commit.
---
 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 6d541bf..844b4f0 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2884,6 +2884,7 @@ fs_visitor::compute_to_mrf()
               /* Found the creator of our MRF's source value. */
               scan_inst->dst.file = MRF;
                scan_inst->dst.nr = inst->dst.nr;
+               scan_inst->dst.reg_offset = 0;
               scan_inst->saturate |= inst->saturate;
               inst->remove(block);
               progress = true;
-- 
2.7.3

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to