From f8b61c96cf9889553fcb3473b00e7dfe226ac1ee Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 27 Feb 2026 06:30:14 -0800 Subject: [PATCH] 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 Reviewed-by: Karol Herbst Part-of: --- src/gallium/frontends/rusticl/core/program.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/frontends/rusticl/core/program.rs b/src/gallium/frontends/rusticl/core/program.rs index e0607f3b2c8..b0f96f9e463 100644 --- a/src/gallium/frontends/rusticl/core/program.rs +++ b/src/gallium/frontends/rusticl/core/program.rs @@ -317,6 +317,8 @@ fn prepare_options(options: &str, dev: &Device) -> Vec { "-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)