i965/fs: Set default access mode to Align1 for all instructions in the generator.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 19 May 2016 01:41:28 +0000 (18:41 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:19:22 +0000 (23:19 -0700)
commit117a9a0a6431a6c35aa1cf5fc5cb96d948045ce6
treeb877ff40338492566a612fe1ac84f0793b81bd4e
parent3a541d0c0b821ee99761b8a251693862b33da509
i965/fs: Set default access mode to Align1 for all instructions in the generator.

Currently the generator code for most opcodes honours the default
access mode (which should typically be Align1 in the scalar back-end),
but generate_code() doesn't set it explicitly which means that the
access mode from a previous instruction could leak into the following
ones if you did something special and weren't careful enough to save
and restore the previous access mode.

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