i965: fix up asserts in brw_inst_set_jip()
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 26 Jan 2017 02:50:41 +0000 (13:50 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Sun, 29 Jan 2017 23:17:46 +0000 (10:17 +1100)
commit77a6597bb7b05d8d8ce30be9eb24792faa9067e9
tree5e7f47e2ed6660887060ca6d379a7f835f53e847
parentb8ee45ebdc2408f50bc0fdb4525ab4f16ffe36e3
i965: fix up asserts in brw_inst_set_jip()

We are casting from a signed 32bit int to an unsigned 16bit int
so shift 15 bits rather than 16.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_inst.h