zink: give each major intrinsic it's own emit function
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 26 Aug 2021 08:24:30 +0000 (10:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 27 Aug 2021 18:43:31 +0000 (18:43 +0000)
commitf417a4c1ba3b0fd3860a5ecbb8b5b8d25f2fae9e
treecb6e6beeda90b8a9e36142d03d7804f44da61d91
parent55e8857a80edacb86b139f0c2a7d3b7165bcf502
zink: give each major intrinsic it's own emit function

It's so much easier to follow this code if there's not any big blocks of
emitting in the middle of the code that figures out exactly what to do.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12594>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c