i965/fs: Set first_non_payload_grf in assign_curb_setup
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 4 Oct 2014 02:05:32 +0000 (19:05 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 10 Sep 2015 23:46:29 +0000 (16:46 -0700)
commitaf48612b88cb51cd3b957e70490462c0c404f92c
tree6cf5c0954c63f4be68a5b97df721bc1ac5fcb50d
parent75d04e561b58d1f00e387c3402e2c299eb3dee87
i965/fs: Set first_non_payload_grf in assign_curb_setup

first_non_payload_grf may be updated in assign_urb_setup for FS or
assign_vs_urb_setup for VS.

We need to set this in assign_curb_setup for compute shaders since cs
does not have an assign_cs_urb_setup like assign_urb_setup (fs) or
assign_vs_urb_setup (vs).

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_fs.cpp