aco: implement 16-bit interp
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 8 May 2020 14:22:53 +0000 (16:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 17:05:05 +0000 (17:05 +0000)
commit1647e098e94d6aab0b4c454ccdd5300afd1d0079
tree9518163f602f0fbb85dcb84c6af2e1cabc86da09
parentbbbb4057e64f95e95bd9f302a19e5775556ad600
aco: implement 16-bit interp

For 16-bit bank LDS (ie. Kabini/Stoney) we need a slightly different
path. It's completely untested though because I don't have these
chips but according to vkpipeline-db the generated assembly seems fine.

Note that 16-bit I/O is currently only exposed on GFX9+ for both
compiler backends.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4966>
src/amd/compiler/aco_instruction_selection.cpp