i965/fs: fix MOV_INDIRECT exec_size for doubles
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 20 Apr 2016 07:59:11 +0000 (09:59 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 May 2016 09:25:09 +0000 (11:25 +0200)
commit4c9006f95796e67cf2cac98795627c31b15b0371
tree1ab9902d1cbfa8fd08de1c20e069de22a84b3047
parent75ada43a3af88835de6a83ed453d4ed512df0412
i965/fs: fix MOV_INDIRECT exec_size for doubles

In that case, the writes need two times the size of a 32-bit value.
We need to adjust the exec_size, so it is not breaking any hardware
rule.

v2:
  - Add an assert to verify type size is not less than 4 bytes (Jordan).

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp