intel/fs: Generalize the unlit centroid workaround
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 13 Jan 2017 23:33:45 +0000 (15:33 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commit40fe108e2b655b22b377ee92b4463a6362ba7b54
tree645052df7c63641fb35b63f9d7cfd83ce5b02178
parent1d381731e0db415b71ca898c68d74e0d8758e730
intel/fs: Generalize the unlit centroid workaround

This generalizes the unlit centroid workaround so it's less code and now
supports SIMD32.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_visitor.cpp