mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 08:28:16 +02:00
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:
parent
185c89084a
commit
f8b61c96cf
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue