i965/fs: fix FS_OPCODE_CINTERP for unpacked double input varyings
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 26 May 2016 05:56:38 +0000 (07:56 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 6 Jun 2016 10:37:16 +0000 (12:37 +0200)
commitcb30727648fea301cfff1647d947bfab540c3bf6
tree7e06531538e2b0b2ada6eb91648eae1425173da7
parent4c863993780a11cea6f88fa0682796bee5794042
i965/fs: fix FS_OPCODE_CINTERP for unpacked double input varyings

Data starts at suboffet 3 in 32-bit units (12 bytes), so it is not
64-bit aligned and the current implementation fails to read the data
properly. Instead, when there is is a double input varying, read it as
vector of floats with twice the number of components.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_fs.cpp