zink: implement i2b1
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 15 May 2020 10:05:11 +0000 (12:05 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 May 2020 14:40:07 +0000 (14:40 +0000)
commit09ac0350fdc97a746342c63deb4e9b626959d47a
tree78eae9577b55e936c7558705969d1a74b8ba1448
parent4c212a1168de9ffc83a7b8e8751ea7cf3dca5c4a
zink: implement i2b1

This shuold really have been implemented before starting to use these,
but I guess I missed them.

Fixes a crash when starting a game in Warzone 2100.

Fixes: 7f6a491eec0 ("zink: lower b2b to b2i")
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5053>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c