agx: Allow some 8-bit sources
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 25 Nov 2022 01:40:47 +0000 (20:40 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Dec 2022 06:25:20 +0000 (06:25 +0000)
commit8127737c1e5a56eecad4616965f072525313f1bd
tree29895023a1dc205761ae70bbe03b962b3b2b3909
parentba209fe493e4977e1d4edbf413dd8d7da2015b9e
agx: Allow some 8-bit sources

8-bit sources are useful for int8->float32 conversions, which we can do in a
single hardware instruction.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19996>
src/asahi/compiler/agx_compile.c
src/asahi/compiler/agx_compiler.h