nvir/nir: implement nir_op_extract_i16
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:11 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
commit4af791c3bd5636f8510b4f77c6d4b8182cf3501a
tree1c550c9f40a2c7210c5c43054e3bb90f6f54d773
parentbfdef484f54361e53c343fb8aee2d61a7f9cf025
nvir/nir: implement nir_op_extract_i16

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