intel/compiler: Do not reswizzle dst if instruction writes to flag register
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Mon, 25 Mar 2019 12:15:27 +0000 (14:15 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 16 Apr 2019 09:42:08 +0000 (09:42 +0000)
commit04508f57d1d36587f3cc048f0f5dae0611f9330c
tree21bc629a1cfc41c3884466600b19a7e786310641
parent9b2473c7a4427371f9c7ab07ee3c4408b9995207
intel/compiler: Do not reswizzle dst if instruction writes to flag register

If we write to the flag register changing the swizzle would change
what channels are written to the flag register.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110201
Fixes: 4cd1a0be
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: <ian.d.romanick@intel.com>
src/intel/compiler/brw_vec4.cpp