Commit Graph

464 Commits

Author SHA1 Message Date
Vladimír Čunát
eb3469e526
mesa: revert to 22.0 on darwin 2022-06-11 11:05:43 +02:00
Michael Weiss
cd3d17f3e2
mesa: 22.0.4 -> 22.1.1 2022-06-02 21:36:05 +02:00
Michael Weiss
b3fa0c3f86
mesa: 22.0.3 -> 22.0.4 2022-05-26 22:02:47 +02:00
Michael Weiss
9e461b9399
Merge pull request #173538 from primeos/mesa
mesa: 22.0.2 -> 22.0.3
2022-05-26 22:00:53 +02:00
Artemis Tosini
e5caa559c4
mesa: Add support for building the Zink driver
Zink requires vulkan-loader to build. Enable vulkan-loader when Zink is explicitally specified as a build target
2022-05-23 01:17:19 +00:00
Michael Weiss
44c5652c19
mesa: 22.0.2 -> 22.0.3 2022-05-18 23:15:11 +02:00
Michael Weiss
076f96079f
Merge pull request #170001 from primeos/mesa
mesa: 22.0.1 -> 22.0.2
2022-04-24 13:07:10 +02:00
Michael Weiss
629fa2f3c2
mesa: 22.0.1 -> 22.0.2 2022-04-23 21:48:01 +02:00
Thiago Kenji Okada
67ae929deb mesa: disable withValgrind if valgrind-light is marked as broken
`valgrind` derivation is currently marked as broken in either:
- `stdenv.isDarwin`
- `stdenv.hostPlatform.isStatic`

Instead of adding those two checks in the `mesa` derivation, we can just
check the current `valgrind-light.meta.broken` attribute.
2022-04-20 19:14:27 +01:00
Vladimír Čunát
01f8e68748
Merge #161085: mesa: 21.3.8 -> 22.0.1 (into staging) 2022-04-09 09:49:09 +02:00
Michael Weiss
040d8929bd
Merge pull request #166494 from andersk/mesa-cross
mesa: Fix cross-compilation
2022-04-01 21:47:52 +02:00
Anders Kaseorg
3ddd9479c9 mesa: Fix cross-compilation
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-03-30 15:32:40 -07:00
Michael Weiss
c8eda85fb6
mesa: 21.3.8 -> 22.0.1
The DRI drivers were removed [0]:
> Mesa's main branch no longer has any "classic" drivers, use the
> "amber" branch instead.

Mesa 21.3 provided the following DRI drivers:
i915 i965 r100 r200 nouveau

For nouveau, there is a Gallium3D driver as well, and i965 can be
replaced with iris or crocus (iris was already the default for
generation 8+ Intel iGPUs and crocus is a new driver for older hardware
that supports generation 4 to 7 iGPUs [1]).
(See also [2] for some more information.)

[0]: cdde031ac2
[1]: https://airlied.blogspot.com/2021/04/crocus-gallium-for-gen4-7-generation.html
[2]: https://www.phoronix.com/scan.php?page=news_item&px=2021-Retire-Mesa-Classic-Main

Note: "-Ddri-drivers-path" is still required to avoid a dependency
cycle.

Release notes: https://docs.mesa3d.org/relnotes/22.0.0.html
2022-03-30 22:36:09 +02:00
Michael Weiss
46076745df
mesa: 21.3.7 -> 21.3.8 2022-03-23 23:12:16 +01:00
Vladimír Čunát
7cbe21b24d
Merge #160267: mesa.drivers: Convert hard links to symlinks 2022-02-28 21:26:45 +01:00
Vladimír Čunát
f5f9b6af9d
mesa.drivers: nit, more info in a comment 2022-02-28 21:25:21 +01:00
Vladimír Čunát
d5cd8efaca
mesa.drivers: improve readability
Co-authored-by: Janne Heß <janne@hess.ooo>
2022-02-28 21:10:42 +01:00
AndersonTorres
ed2b1b4b90 Merge branch 'master' into staging-next 2022-02-26 21:04:25 -03:00
Michael Weiss
6431bebc93
mesa: Limit the devDoesNotDependOnLLVM test to Linux
The required modifications in the postInstall phase are only applied on
Linux and the test currently fails on Darwin:
https://github.com/NixOS/nixpkgs/runs/5344236204
> building '/nix/store/45s58pv9j6a19wr9izx49s6i0i4qshxs-mesa-dev-does-not-depend-on-llvm.drv'...
> error: output '/nix/store/czmszfcwdx87vx2wf80lhp3h9skqqcfs-mesa-dev-does-not-depend-on-llvm' is not allowed to refer to the following paths:
>          /nix/store/cwb5g57al7iizw456ah9rk49cxb47wi3-mesa-21.3.7-drivers
2022-02-26 18:48:17 +01:00
Michael Weiss
42890734c3
mesa: 21.3.6 -> 21.3.7 2022-02-26 12:33:53 +01:00
Michael Weiss
cee6a92b21
mesa: 21.3.5 -> 21.3.6 2022-02-17 20:43:44 +01:00
Anders Kaseorg
4e199a91dc mesa.drivers: Convert hard links to symlinks
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-02-15 23:29:48 -08:00
Michael Weiss
4d54ec489c mesa: 21.3.4 -> 21.3.5 2022-01-29 00:36:25 -08:00
Michael Weiss
c1a7122670
mesa: 21.3.3 -> 21.3.4 2022-01-13 20:40:27 +01:00
Michael Weiss
9b760ab5c4
mesa: 21.3.2 -> 21.3.3 2021-12-30 12:25:26 +01:00
Michael Weiss
62dc6893b7
mesa: 21.3.1 -> 21.3.2 2021-12-18 21:13:29 +01:00
Michael Weiss
5390a70302
mesa: 21.2.6 -> 21.3.1 2021-12-01 23:18:56 +01:00
Michael Weiss
63a370df6f
mesa: 21.2.5 -> 21.2.6 2021-11-25 23:26:00 +01:00
Cole Mickens
4e54a9fad0
mesa: /run/opengl-driver in gbm-backend-paths 2021-11-09 23:53:19 -08:00
github-actions[bot]
ba990541d1
Merge staging-next into staging 2021-10-30 00:02:03 +00:00
Michael Weiss
f8d1de8e18
mesa: 21.2.4 -> 21.2.5 2021-10-28 21:36:58 +02:00
Yuka
8daecb33b9
mesa: update musl patches (#141970)
Also remove a patch that was upstreamed
2021-10-23 13:32:39 +02:00
Jonathan Ringer
5957e9f064
mesa: 21.2.3 -> 21.2.4 2021-10-15 22:36:34 +02:00
Rick van Schijndel
5d30f708b9 mesa: add llvm as dependency for llvm-config-native
Fixes https://github.com/NixOS/nixpkgs/issues/136926
2021-10-13 22:36:23 +02:00
Michael Weiss
b88fce906f
mesa: 21.2.2 -> 21.2.3 2021-09-30 01:00:34 +02:00
github-actions[bot]
42ade1cfa3
Merge staging-next into staging 2021-09-22 18:01:40 +00:00
Michael Weiss
f36df15fe5
mesa: 21.2.1 -> 21.2.2 2021-09-21 23:49:01 +02:00
Troels Henriksen
b41d29dd31
mesa: restore OpenCL support
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Simon Bruder <simon@sbruder.de>
2021-09-18 23:40:09 +02:00
Michael Weiss
8761186f0a
mesa: 21.1.7 -> 21.2.1 2021-08-19 23:13:25 +02:00
Alyssa Ross
f5db95a96a
mesa: 21.1.6 -> 21.1.7 2021-08-13 11:15:59 +02:00
Michael Weiss
364bb239ab
mesa: 21.1.5 -> 21.1.6 2021-07-29 10:54:36 +02:00
ash lea
1b3ba289b2 mesa: fix datadir location 2021-07-24 15:11:58 +02:00
github-actions[bot]
6d11e6d03e
Merge master into staging-next 2021-07-17 00:01:37 +00:00
TredwellGit
79a4590495 steamPackages.steam-fhsenv: fix Proton
LLVM must match version required by Mesa.

Fixes https://github.com/NixOS/nixpkgs/issues/127068
2021-07-16 15:13:31 -07:00
Michael Weiss
b5a7a474d1
mesa: 21.1.4 -> 21.1.5 2021-07-15 11:41:34 +02:00
Michael Weiss
f7997354b7
wayland-scanner: use for nativeBuildInputs
This makes things more explicit (and less confusing) but only touches
the packages that I maintain.
2021-07-03 17:56:23 +02:00
Michael Weiss
e23145b62a
mesa: 21.1.3 -> 21.1.4 2021-07-01 13:13:43 +02:00
Michael Weiss
ecbe6c123f
mesa: 21.1.2 -> 21.1.3
I've also updated the URL for the RISC-V patch in case the content of
the old URL will change (not sure if that's possible after a merge
request is merged but now that the patch is upstream it seems like a
good idea regardless; and the content has actually already changed so
the old hash wasn't correct anymore).
2021-06-18 22:58:15 +02:00
Zhaofeng Li
f885e987ef mesa: Add patch for RISC-V driver selection 2021-06-12 23:17:13 -07:00
Zhaofeng Li
1f007dd009 Use lib.meta.availableOn for optional Valgrind dependency 2021-06-12 23:17:13 -07:00