i965/eu: Set src0 file to IMM on Gen8+ flow control instructions.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 10 Aug 2014 14:10:55 +0000 (07:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Aug 2014 20:39:25 +0000 (13:39 -0700)
commitce90fd9676c3dfce6d692671909ee28d86a534ae
treee9b992c08bc675878bb3dd052323ffbede3ff285
parentd8ef0eab5a133ad9d8945a6b7f077fea000a87a6
i965/eu: Set src0 file to IMM on Gen8+ flow control instructions.

According to the documentation, we need to set the source 0 register
type to IMM for flow control instructinos that have both JIP and UIP.
Out of paranoia, just make all flow control instructions use IMM;
there's no benefit to using ARF anyway, and it could trouble that's
difficult to diagnose.

See commit 9584959123b0453cf5313722357e3abb9f736aa7, which did the
analogous change in the gen8_generator code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c