8f4af4d700
At some point in the future, adding generic variants to libclc will hopefully no longer be needed. At that point, we don't want the NIR code adding duplicates. Check if the generic version already exists and, if it does, don't re-add it. Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18675>