nvir/nir: implement nir_op_extract_i8
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:08 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
commit37bef78c791e099ebda34f20f2088f77bd60ac1c
treea4c40d9ee779e8820074fc444080c46fa002f9e4
parentda390389d094d82e405003fdacaf9ee9cc8e74fe
nvir/nir: implement nir_op_extract_i8

v2:
- use getSSA() instead of getScratch()
v3:
- fix whitespace

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp