i965: Emit ELSE/ENDIF JIP with type D on Gen 7.
authorMatt Turner <mattst88@gmail.com>
Thu, 28 Aug 2014 01:40:46 +0000 (18:40 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 25 Sep 2014 18:02:36 +0000 (11:02 -0700)
commit54e30dbf4db437748509d1319c3f6e4185f76c69
treef4b0e94fc91dad03bd8b2d5e7394e30158c255d5
parent6a4e84edfaa34ff776f9b15cd263ddd616119bb8
i965: Emit ELSE/ENDIF JIP with type D on Gen 7.

The spec says the type must be W (JIP is 16-bits after all), but we've
been emitting it with a UD type all along and have experienced no
adverse effects. Changing the type to D allows ELSE and ENDIF
instructions to be compacted.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c