rusticl: Support/ignore -qcom-accelerate-16-bit

Some apps when they see adreno just blindly stuff in this compiler arg.
Just silently ignore it.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41520>
This commit is contained in:
Rob Clark 2026-02-27 06:30:14 -08:00 committed by Marge Bot
parent 185c89084a
commit f8b61c96cf

View file

@ -317,6 +317,8 @@ fn prepare_options(options: &str, dev: &Device) -> Vec<CString> {
"-cl-no-subgroup-ifp" => None,
// Some applications use this argument when they detect Intel hardware.
"-cl-intel-greater-than-4GB-buffer-required" => None,
// Some applications use this when they detect QC hardware
"-qcom-accelerate-16-bit" => None,
_ => Some(a),
})
.map(CString::new)