intel/fs: Actually implement the load_barycentric intrinsics
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 11 Apr 2019 19:12:58 +0000 (14:12 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 2 Jul 2019 16:15:25 +0000 (16:15 +0000)
commit8e7d066682e8c0ca59fe5d550cd5bbd2564d1776
tree14d5d00b8b251a16667642a41869c808b46b3e38
parent5787a2dfe3091804efc0930560751030950ca7d0
intel/fs: Actually implement the load_barycentric intrinsics

If they never get used, dead code should clean them up.  Also, we rework
the at_offset and at_sample intrinsics so they return a proper vec2
instead of returning things in PLN layout.  Fortunately, copy-prop is
pretty good at cleaning this up and it doesn't result in any actual
extra MOVs.

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