Hi,
thanks for the feedback. Yes, I accidentally added the patch I made for mesa 24.2.1. Currently I have it like this, which should also work:
diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build
index 84df0a9edb9..20459f73993 100644
--- a/src/gallium/frontends/rusticl/meson.build
+++ b/src/gallium/frontends/rusticl/meson.build
@@ -122,6 +122,7 @@ endif
rusticl_bindgen_c_args = [
'-fno-builtin-malloc',
+ '-I@include@', '-I@include_cpp@', '-I@include_cpp_target_sys@',
]
cl_c_args = [
--
One assumption on the shader issue. intel_clc is currently added only for x86-64. If you are building for another platform intel_clc is not installed for mesa-native, but required for 'iris'.
Changing this line:
GALLIUMDRIVERS:append ="${@bb.utils.contains_any('PACKAGECONFIG', 'opencl-rusticl opencl-clover', ',iris', '', d)}"
to:
GALLIUMDRIVERS:append:x86-64 ="${@bb.utils.contains_any('PACKAGECONFIG', 'opencl-rusticl opencl-clover', ',iris', '', d)}"
might remove the need to disable raytracing in EXTRA_OEMESON
Alternatively also removing x86-64 from these lines:
EXTRA_OEMESON:append:class-target:x86-64 = " ${@bb.utils.contains_any('PACKAGECONFIG', 'opencl-rusticl opencl-clover', '-Dintel-clc=system', '', d)}"
EXTRA_OEMESON:append:class-native:x86-64 = " ${@bb.utils.contains_any('PACKAGECONFIG', 'opencl-rusticl opencl-clover', '-Dintel-clc=enabled -Dinstall-intel-clc=true -Dgallium-rusticl=false', '', d)}"
might help, but I'm unsure if intel_clc would be of any use apart from x86-64