intel/fs: Emit MOV_DISPATCH_TO_FLAGS once for the centroid workaround
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 24 May 2018 00:54:54 +0000 (17:54 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commit5e3028d8267817a5b9669bfb736722d9adb156d5
tree342bd5f66750fee43501ce3d2cd7183843e455e5
parent40fe108e2b655b22b377ee92b4463a6362ba7b54
intel/fs: Emit MOV_DISPATCH_TO_FLAGS once for the centroid workaround

There's no reason for us to emit it a pile of times and then have a
whole pass to clean it up.  Just emit it once like we really want.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_visitor.cpp