nvir/nir: implement nir_op_extract_u8
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:06 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
commitda390389d094d82e405003fdacaf9ee9cc8e74fe
treea0e23da3c42346820d891ad97ed0a5d35e7f3bfc
parentb80033abc6fd29a6873a56d88c8dd1d225ba8b07
nvir/nir: implement nir_op_extract_u8

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