i965: Fix undefined signed overflow in INTEL_MASK for bitfields of 31 bits.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 22 Jul 2016 04:58:56 +0000 (21:58 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 26 Aug 2016 01:36:06 +0000 (18:36 -0700)
commit4e990b67cef9a90f362e5a3791234ef779f47bea
tree1de4dd667f85788a3119606d424913c520d90945
parentf3cb2c34f29d35088879a6b8101c3ac648e0febf
i965: Fix undefined signed overflow in INTEL_MASK for bitfields of 31 bits.

Most likely we had only ever used this macro on bitfields of less than
31 bits -- That's going to change shortly.

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