i965/vec4: fix assert to detect SIMD lowered DF instructions in IVB
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Apr 2017 23:54:49 +0000 (16:54 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 14 Apr 2017 21:56:08 +0000 (14:56 -0700)
commit92649a3e6756465b3961cf05910cda93a69c7790
treeea6944e4b1a9e1bd11577434d1c2fadd04d59fdd
parent6e3265eae533a1bff4f23a4508c5d8e9ab23164d
i965/vec4: fix assert to detect SIMD lowered DF instructions in IVB

On IVB, DF instructions have lowered the SIMD width to 4 but the
exec_size will be later doubled. Fix the assert to avoid crashing in
this case.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
[ Francisco Jerez: Simplify assert.  Except for the 'inst->group % 4
  == 0' part the assertion was redundant with the previous assertion. ]
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/brw_vec4_generator.cpp