From 29049792bc9330d53684838187d7b3e9274edf8f Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Fri, 3 Oct 2014 19:05:32 -0700 Subject: 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 --- src/mesa/drivers/dri/i965/brw_fs.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3