i965/fs: Return more accurate read size for LINTERP from fs_inst::size_read.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 7 Sep 2016 20:02:55 +0000 (13:02 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:54 +0000 (14:50 -0700)
commitd6b60934aaf2d525f7d1072c0c21af8468254647
tree7b8fe6584aed8d39f4bcc1f010ae8262a245d897
parent31a40202b8bdf8bb65d33862144a03610fd57e3f
i965/fs: Return more accurate read size for LINTERP from fs_inst::size_read.

The LINTERP virtual instruction only reads three scalar components
from the first 16B of the second source, we can now teach size_read()
about it since its return value is represented with byte granularity.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_fs.cpp