i965/fs: Return mlen * 8 for size_read() for INTERPOLATE_AT_*
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 20 Apr 2018 03:48:42 +0000 (20:48 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 23 Apr 2018 21:04:42 +0000 (14:04 -0700)
commitde1f22d595d40f6c2e2d80db73aa90d62a875de5
tree2c7c592366b709c268e95ae7664aa8c16f37260b
parentd136a5fad9c7e67c1362453388914ecc60420883
i965/fs: Return mlen * 8 for size_read() for INTERPOLATE_AT_*

They are send messages and this makes size_read() and mlen agree.  For
both of these opcodes, the payload is just a dummy so mlen == 1 and this
should decrease register pressure a bit.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: mesa-stable@lists.freedesktop.org
src/intel/compiler/brw_fs.cpp