i965: Add Gen8 assembly support for DP Scratch messages.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 27 Jan 2014 23:44:18 +0000 (15:44 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Feb 2014 23:50:08 +0000 (15:50 -0800)
commit29a69744034c37ebe1ba088fbc8bbd39b7a17875
treefa5b05781b11dc9407ae0020ab6f437ad319a7f9
parenta5e54c91a3b73551609efea1f6f31eaae26281ea
i965: Add Gen8 assembly support for DP Scratch messages.

The new accessors will make it easy to do Gen7-style scratch messages.

v2: Move num_regs assertion from gen8_fs_generator into
    gen8_set_dp_scratch_message() (suggested by Eric).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen8_instruction.c
src/mesa/drivers/dri/i965/gen8_instruction.h