diff --git a/meson.options b/meson.options index 3dcbcfd7116..48e5b810920 100644 --- a/meson.options +++ b/meson.options @@ -156,7 +156,7 @@ option( option( 'gallium-rusticl-enable-drivers', type : 'array', - value : ['auto', 'asahi'], + value : ['auto', 'asahi', 'radeonsi'], description : 'List of gallium drivers for which rusticl will be enabled ' + 'by default', ) diff --git a/src/gallium/frontends/rusticl/mesa/pipe/device.rs b/src/gallium/frontends/rusticl/mesa/pipe/device.rs index f5d1cb36435..7925d951aee 100644 --- a/src/gallium/frontends/rusticl/mesa/pipe/device.rs +++ b/src/gallium/frontends/rusticl/mesa/pipe/device.rs @@ -64,6 +64,8 @@ fn get_enabled_devs() -> HashMap { let default_devs: &[&str] = &[ #[cfg(any(rusticl_enable_asahi, rusticl_enable_auto))] "asahi", + #[cfg(any(rusticl_enable_radeonsi))] + "radeonsi", ]; // I wished we could use different iterators, but that's not really working out.