i965: Only change type of 0.0f to VF if destination stride == 1
authorMatt Turner <mattst88@gmail.com>
Tue, 1 Aug 2017 17:12:56 +0000 (10:12 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Aug 2017 21:05:23 +0000 (14:05 -0700)
commit48aa6ecb8759fcaed68db4b03600c92572759158
treec717a1f897308f31657c2ef5e6b32e4c4d18e466
parent56a676eed289bdea928b56e7533023f775468bb2
i965: Only change type of 0.0f to VF if destination stride == 1

The destination stride must be equivalent to a dword if VF is used.

Also, since the only compaction table entires with "i:vf" have the
destination as "r:f" specifically check that the destination is of type
float.

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