doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.1k stars 841 forks source link

Feature Request: options to disable dxgi/d3d* #1040

Closed pchome closed 5 years ago

pchome commented 5 years ago

Example: 0001-build-Support-separate-d3d-dxgi-builds.patch.txt (based on d9vk)

Such changes are questionable for DXVK, so not a PR.

Motivation:

Well, we can go deeper, and extend this changes to produce dxvk-libs, and then optionally reuse them when found in systems library paths.

doitsujin commented 5 years ago

I'm not opposed to such changes in general and have considered doing something like that already, as long as they are reasonably simple and don't try to restructure the entire code base (dxvk-libs sounds suspicious). I don't consider it high-priority though, so it might take a while for this to happen (if at all).

pchome commented 5 years ago

"restructure the entire code base"

The explanation for code base changes:

pchome commented 5 years ago

Well, while it (separate builds) still possible with such changes, I'm not doing this in my gentoo overlay. Instead I'm using similar changes to produce one additional package dxvk-tests, where everything disabled except tests/ and deps.

So, removing this "separate builds" from title, sounds like something overcomplicated.

D9VK and separate package for DXVK sample programs is more viable examples.

pchome commented 5 years ago

One more option will be good to have is enable_openvr. Prototype patch: dxvk-1.1.1-optional-openvr.patch.txt

doitsujin commented 5 years ago

One more option will be good to have is enable_openvr

Why? It won't be used if the application doesn't use it.

pchome commented 5 years ago

Why? It won't be used if the application doesn't use it.