i965: Don't hardcode g1 for URB handles in fs_visitor::emit_urb_writes().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 2 Dec 2015 01:51:33 +0000 (17:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Dec 2015 21:11:15 +0000 (13:11 -0800)
commit7e0c22d461bc5b52cdc90a698e98063d9d6a5f5f
tree6fe70665fd01b0d91b2b3fa981765ce4531cd7a4
parent77b338d63b61d72dafa7ecd420e36ee2bb0436ab
i965: Don't hardcode g1 for URB handles in fs_visitor::emit_urb_writes().

Tessellation evaluation shaders will use g4 instead.  For now, make an
fs_reg called urb_handle and use that in place of hardcoding g1.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp