intel/compiler: Expand size of the 'nr' field
authorMatt Turner <mattst88@gmail.com>
Mon, 10 Dec 2018 19:48:54 +0000 (11:48 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 10 Jan 2019 00:42:41 +0000 (16:42 -0800)
commit622d4291287b8dfad612b92945abd39e767a7b15
tree64020f518f234e1daa46115968448a6678102570
parent7e4e9da90d8b4a000357efa5c0e0027fd00c28b9
intel/compiler: Expand size of the 'nr' field

Shaders containing software implementations of double-precision
operations can be very large such that we have more the 2^16 virtual
registers during optimization.

Move the 'nr' field to the union containing the immediate storage and
expand it to 32-bits.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_reg.h