Skip to content

Commit

Permalink
mesa: only specify drivers on Intel CPU for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Aug 2, 2024
1 parent b00797a commit 762356e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/m/mesa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def install
args += %w[
-Ddri3=enabled
-Degl=enabled
-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink
-Dgallium-extra-hud=true
-Dgallium-nine=true
-Dgallium-omx=disabled
Expand All @@ -154,6 +153,9 @@ def install
-Dvulkan-drivers=amd,intel,intel_hasvk,swrast,virtio
-Dvulkan-layers=device-select,intel-nullhw,overlay
]
if Hardware::CPU.intel?
args << "-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink"
end
end

system "meson", "setup", "build", *args, *std_meson_args
Expand Down

0 comments on commit 762356e

Please sign in to comment.