i965/vec4: Take into account misalignment in regs_written() and regs_read().
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 3 Sep 2016 00:57:34 +0000 (17:57 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:54 +0000 (14:50 -0700)
commita5bbe4c127c15240758a8cc6144197510c029083
treecbeee6256fb8f3895f94954d847f351725de1206
parent717d8efd584d8db7fbbdbe7deb51371e28d6c492
i965/vec4: Take into account misalignment in regs_written() and regs_read().

Unlike the FS counterpart of this commit this was likely not (yet) a
bug, but let's fix it already in preparation for implementing support
for sub-GRF offsets in the VEC4 back-end.

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