Commit Graph

529 Commits

Author SHA1 Message Date
Vladimír Čunát
bb320adc88
Merge #224857: mesa: fix zink by patching RPATH so it finds libvulkan.so
...into staging-next
2023-04-06 11:38:24 +02:00
Mia Kanashi
19be5ac011
mesa: fix zink by patching RPATH so it finds libvulkan.so
Currently zink can't find libvulkan.so, so it won't work when you try to use it,
you can verify that using strace, patching RPATH fixes this.

closes #187791
2023-04-05 21:57:42 +03:00
Vladimír Čunát
fcda0efbe2
Merge #215214: libGL: complete meta, correct version
...into staging
2023-04-04 09:03:05 +02:00
Sandro Jäckel
56728f632b
libGL: complete meta, get version from correct package 2023-03-27 23:58:15 +02:00
K900
c8217d6ba4 mesa: remove libgrl.a
Saves a bit of space.
2023-03-27 14:57:53 +03:00
Vladimír Čunát
b544cd986c
Merge branch 'master' into staging-next 2023-03-26 11:38:50 +02:00
Atemu
33a700b406 mesa: provide patch versions
This allows us to bump the mesa attribute (used by many packages, see
https://github.com/NixOS/nixpkgs/issues/218232) independently from the packages
used by NixOS users.
2023-03-25 21:08:50 +01:00
Atemu
c4752a1631 mesa_23: init at 23.0.1 2023-03-25 15:26:00 +01:00
Atemu
c2ebb395ca mesa: refactor for multi-version setup 2023-03-25 15:12:38 +01:00
Karel Kočí
48f48c3101
mesa: build dri for arm
The isAarch64 applies only to 64bit arm. The commit
e7a2c65ab5 missed support for 32bit arm.

This also removes kmsro as it is not used by Mesa meson.build file. The
kmsro is detected from other galium drivers. This might not be correct
and there probably should be a way to enable this in the upstream but
for now this does nothing.
2023-03-16 10:18:05 +01:00
Vladimír Čunát
40af042f60
mesa: 22.3.6 -> 22.3.7 2023-03-08 23:48:43 +01:00
github-actions[bot]
a5961d9534
Merge master into staging-next 2023-03-06 12:01:40 +00:00
Jörg Thalheim
6ea505ee4e mesa: enable vulkan intel drivers on 32bit 2023-03-06 09:34:30 +01:00
Vladimír Čunát
69d33860f6
Merge #217832: mesa: 22.3.5 -> 22.3.6
...into staging
2023-02-26 17:27:32 +01:00
github-actions[bot]
3cdd771820
Merge staging-next into staging 2023-02-23 18:01:49 +00:00
hw-lunemann
852e9c2781 mesa: 22.3.5 -> 22.3.6 2023-02-23 16:05:24 +01:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Martin Weinelt
9e7f9a402b
python310Packages.mako: Normalize attribute, pname, dirname 2023-02-19 21:36:02 +01:00
Vladimír Čunát
410d64db35
mesa: 22.3.4 -> 22.3.5
https://docs.mesa3d.org/relnotes/22.3.5.html
Fixes #216137
2023-02-13 10:39:07 +01:00
Vladimír Čunát
1e42908aa7
Merge branch 'master' into staging-next 2023-02-08 21:50:23 +01:00
John Ericson
5855bcd789 libGL: Add meta.pkgConfigModules and test 2023-02-07 12:15:37 -05:00
K900
9bccea539c mesa: build Intel drivers on i686
Sorry gamers :(
2023-02-04 12:35:03 +03:00
github-actions[bot]
33d4318fcc
Merge staging-next into staging 2023-01-31 00:03:07 +00:00
Alyssa Ross
b538df3133
mesa: fix build for armv5tel
Fixes: e7a2c65ab5 ("mesa: reorganize default driver list")
2023-01-30 20:00:14 +00:00
Sergei Trofimovich
3f9fe5c15f mesa: revert "fix build"
This reverts commit f4a78e4b2c.

commit 8c80bd08b7
("build-support/cc-wrapper: pass in non-existent --sysroot= to untangle
from libc") was reverted. We can drop the workaround.
2023-01-29 07:51:00 +00:00
K900
c304f2646c mesa: add udev dependency
Enables display hotplug events for Vulkan
2023-01-28 22:54:54 +03:00
K900
b071fdb268 mesa: also demote anv 2023-01-28 17:21:16 +03:00
K900
14e04064d3 mesa: demote iris to x86_64 only 2023-01-28 17:09:48 +03:00
K900
e7a2c65ab5 mesa: reorganize default driver list
Upstream doesn't enable lots of things we might actually want
by default, so just specify everything manually.

Each list is grouped into three parts: arch-independent drivers,
aarch64-only drivers and x86_64 only drivers.
2023-01-28 16:36:35 +03:00
K900
677e5a1b3a mesa: clean up, allow building with dozen 2023-01-28 16:36:34 +03:00
K900
96978011e6 mesa: enable SPIR-V support for Clover 2023-01-28 16:36:34 +03:00
K900
17af0cdc15 mesa: enable RT on Intel hardware 2023-01-28 16:36:34 +03:00
K900
5074173a53 mesa: build intel-nullhw Vulkan layer
Useful for debugging
2023-01-28 16:36:34 +03:00
K900
678bcd522a mesa: add libzstd
Will be used for shader caches, should make loading them slightly faster.
2023-01-28 16:36:26 +03:00
K900
f416128e90 mesa: simplify opencl patch 2023-01-28 15:28:38 +03:00
Vladimír Čunát
ea8fb54acb mesa: use LLVM 15, remove global spirv-translator override 2023-01-28 15:28:38 +03:00
K900
f4a78e4b2c mesa: fix build 2023-01-28 15:28:37 +03:00
Vladimír Čunát
2b5f71eed1
mesa: 22.3.3 -> 22.3.4
https://docs.mesa3d.org/relnotes/22.3.4.html
2023-01-28 10:10:25 +01:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
K900
dcf630c172 mesa: 22.3.2 -> 22.3.3 2023-01-11 23:24:24 +03:00
Vladimír Čunát
3cd6cd4120
mesa: 22.3.1 -> 22.3.2
https://docs.mesa3d.org/relnotes/22.3.2.html
2023-01-01 17:08:31 +01:00
Vladimír Čunát
4237877304
Merge #205327: mesa-demos: fix build on Darwin
...into staging
2022-12-31 10:55:22 +01:00
K900
cdf92e56f7 mesa: enable separateDebugInfo
It is generally useful, and it also makes rusticl work for ??? reasons ???
2022-12-23 17:03:47 +03:00
K900
cd53c071f2 mesa: 22.2.5 -> 22.3.1, enable rusticl 2022-12-15 13:02:29 +03:00
Vladimír Čunát
06a53254e2
mesa: 22.2.4 -> 22.2.5
https://lists.freedesktop.org/archives/mesa-announce/2022-December/000696.html
(still waiting for 22.3.1)
2022-12-10 09:15:20 +01:00
Alyssa Ross
8bf18f7862
mesa: use libdrm on all supported platforms
libdrm is not Linux-specific.  It is also used on (at least) every BSD
and illumos.
2022-12-09 17:31:20 +00:00
Zhaofeng Li
fa9f9f8361 mesa: Actually build more Vulkan drivers on aarch64-linux
If `auto` exists, the entire list of Vulkan drivers is replaced
so our additions aren't honored:

<ef168a57b9/meson.build (L258-277)>

Co-authored-by: K900 <me@0upti.me>
2022-12-02 17:07:59 -07:00
Rouven Czerwinski
caf8e0091d meta: 22.2.3 -> 22.2.4
https://docs.mesa3d.org/relnotes/22.2.4.html
2022-11-28 07:35:06 +01:00