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

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