i965/fs: Emit a single ADD instruction for SET_SAMPLE_ID on Gen8+.
authorMatt Turner <mattst88@gmail.com>
Wed, 21 Oct 2015 01:31:02 +0000 (18:31 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 22 Oct 2015 19:27:00 +0000 (12:27 -0700)
commite2707c8765b15b7ac666067160307c7f9d2d8b4d
treed3e2833c8f81930ebf89f64a018e6f19a8c60733
parent0f74796e33cb15ec0c79bc2b5d0c766dc5068b41
i965/fs: Emit a single ADD instruction for SET_SAMPLE_ID on Gen8+.

Gen8+ lifted the register region restriction that an instruction whose
destination spans two registers must have sources that also span two
registers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp