Commit Graph

17 Commits

Author SHA1 Message Date
Randy Eckenrode
5c31d2d23b
dxvk: improve description of dxvk derivation 2023-01-29 12:00:22 -05:00
Randy Eckenrode
81a86d07e6
dxvk: 2.0 -> 2.1
https://github.com/doitsujin/dxvk/releases/tag/v2.1
2023-01-28 14:42:55 -05:00
Randy Eckenrode
67a2ceab6a
dxvk: add native Linux build 2023-01-28 14:42:55 -05:00
Randy Eckenrode
403fe21323
dxvk: expose Windows derivations
This is in preparation for native builds of DXVK, but it also allows
users to choose to use an older version if that is more compatible with
their hardware.
2023-01-28 14:42:55 -05:00
Randy Eckenrode
16e9b55025
dxvk: vendor setup_dxvk.sh
Upstream will remove the `setup_dxvk.sh` in DXVK 2.1. To avoid breaking
users of the current derivation, vendor `setup_dxvk.sh`. This script is
based on the upstream script with some modifications:

- Update command-line parsing; and
- Reorganized action processing logic.
2023-01-28 14:42:54 -05:00
Randy Eckenrode
56c2631e5b
dxvk: fix Darwin build 2023-01-23 21:38:47 -05:00
Artturin
2eeb34c273 treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
Randy Eckenrode
33b682ebaf
dxvk: 1.10.3 -> 2.0 2022-11-10 19:52:32 -05:00
Randy Eckenrode
10ec6b818b dxvk: 1.10.1 -> 1.10.3 2022-08-04 13:19:09 +02:00
Randy Eckenrode
54d3d61b0c
moltenvk: remove DXVK compatibility patches 2022-06-07 10:06:31 -04:00
Randy Eckenrode
0f7e594160
dxvk: limit to Intel platforms 2022-06-07 10:05:25 -04:00
Randy Eckenrode
2a7827fac3
dxvk: use function form of mkDerivation
This allows `overrideAttrs` to work correctly with `dxvkPatches`.
2022-06-06 23:59:19 -04:00
Randy Eckenrode
a97a4f491f
dxvk: work with unpatched MoltenVK on Darwin 2022-06-06 23:59:19 -04:00
Randy Eckenrode
2f4eedc401
dxvk: 1.10 -> 1.10.1 2022-03-26 21:04:44 -04:00
Randy Eckenrode
f29e152b7e
dxvk: support version-specific MoltenVK patches
While it’s unlikely, it’s possible that different MoltenVK versions
could require their own compatability patches. Support that by making
the `moltenvk` derivation provide the patch via `passthru`. There is no
package with the patch applied because the patch should never be used by
anything other than DXVK.
2022-03-09 11:31:10 -05:00
Randy Eckenrode
e2369cb9c9
dxvk: refactor to better support Darwin and Linux
- Move the synchronization primitive changes to their own patch, so it
  can be applied conditionally on Darwin. Also, document why this change
  is needed; and
- Refactor how `src` is handled to support allowing Darwin and Linux to
  diverge in case the Darwin patches do not apply to the latest version.
  This should address some post-merger concerns that were raised about
  Darwin’s blocking updates for Linux.
2022-03-09 11:18:05 -05:00
Randy Eckenrode
5fb9ee7f05
dxvk: init at 1.10 2022-03-07 15:15:19 -05:00