i965/vec4: fix VEC4_OPCODE_FROM_DOUBLE for IVB/BYT
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 23 Sep 2016 09:57:43 +0000 (09:57 +0000)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 14 Apr 2017 21:56:08 +0000 (14:56 -0700)
commitcfaf14a12607a8e9fd3d86a0c0219c428401f68f
treefc9e47b7b94cdab6b4a0799d718e212333b53125
parentbe445d3ea3a7b4575c2dbac3d702e27e9ec3f125
i965/vec4: fix VEC4_OPCODE_FROM_DOUBLE for IVB/BYT

In the generator we must generate slightly different code for
Ivybridge/Baytrail, because of the way the stride works in
this hardware.

v2:
- Use stride and don't need to fix dst (Curro)

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/brw_vec4_generator.cpp