i965/eu: Fix Gen7+ DP scratch message size calculation on Gen7.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 16 May 2016 23:03:33 +0000 (16:03 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:28:59 +0000 (23:28 -0700)
commitfe5cdde2f9f84022b512de1fa42a036a371d31ba
tree3dae4dd78b2b44dc27c8b52a6005b1efd28ea8e0
parentfc7107de1d7cac6be817e8951e53f997c248c277
i965/eu: Fix Gen7+ DP scratch message size calculation on Gen7.

Gen7 hardware expects the block size field in the message descriptor
to be the number of registers minus one instead of the log2 of the
number of registers.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c