i965/fs: Add/use functions to convert to 3src_align1 vstride/hstride
authorMatt Turner <mattst88@gmail.com>
Mon, 11 Dec 2017 19:44:48 +0000 (11:44 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 11 Jan 2018 18:11:59 +0000 (10:11 -0800)
commit01ebfbb67ac82d5257dfc619a81fd841aed576b5
treef369119dc7226580a1df145d31bf30c7f1f1aacc
parent4fd85617c176e9222f84fda7634a74d060e982b1
i965/fs: Add/use functions to convert to 3src_align1 vstride/hstride

Some cases weren't handled, such as stride 4 which is needed for 64-bit
operations. Presumably fixes the assertion failure mentioned in commit
2d0457203871 (Revert "i965/fs: Use align1 mode on ternary instructions
on Gen10+") but who can really say since the commit neglected to list
any of them!

Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/compiler/brw_eu_emit.c