summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-10-03 19:05:32 -0700
committerJordan Justen <jordan.l.justen@intel.com>2014-10-27 15:00:51 -0700
commit29049792bc9330d53684838187d7b3e9274edf8f (patch)
treed50bcbed36f3ee66a7544dfb947b815517c9609c
parenta8ba7a1c8c44f15e346962d49aedede33641bf25 (diff)
i965/fs: Set first_non_payload_grf in assign_curb_setup
Note that for fragment shaders, this may be updated in assign_urb_setup. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 30a722ab6b..943307ef4e 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1710,6 +1710,9 @@ fs_visitor::assign_curb_setup()
}
}
}
+
+ /* This may be updated in assign_urb_setup. */
+ this->first_non_payload_grf = payload.num_regs;
}
void