Revert "intel/fs: Move the scalar-region conversion to the generator."
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Sep 2019 03:12:07 +0000 (22:12 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 6 Sep 2019 03:58:09 +0000 (03:58 +0000)
commitd15fe8ca8262d502435c4f83985ac414f950bc5f
tree06893693485af114474d618f898409fbaf01e332
parent47e974354715702a75ad2f1ee803b72cbd8cc9f1
Revert "intel/fs: Move the scalar-region conversion to the generator."

This reverts commit c0504569eac5e5c305e9f0c240e248aca9d8891f.  Now that
we're doing interpolation lowering in NIR, we can continue to stride the
FS input registers directly in the brw_fs_nir code like we did before.
This fixes SIMD32 fragment shaders which broke because lower_simd_width
depended on the 0 stride to split PLN instructions correctly.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_fs_visitor.cpp