nir: add nir_export_dual_src_blend_amd intrinsic
authorQiang Yu <yuq825@gmail.com>
Sun, 23 Apr 2023 03:49:26 +0000 (11:49 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 26 Apr 2023 03:27:26 +0000 (03:27 +0000)
commiteb1fe8c32faea68b0308cdb0c1fe8759066952ef
treea086f1b8108b02bffc43946d2ba8edfe4566673b
parent01f4addc18eb49838faa3b905abf79b05e72f07b
nir: add nir_export_dual_src_blend_amd intrinsic

For GFX11 export dual source blend outputs when ACO.
ACO need a pseudo instruction to emit a block of
code which can't be done in nir currently.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22199>
src/compiler/nir/nir_intrinsics.py