Philip Rebohle
215c4f8f6f
[dxvk] Enable VK_KHR_present_id and VK_KHR_present_wait if supported
2023-06-21 15:16:37 +02:00
Joshua Ashton
5fbb0dd4ba
[dxvk] Enable EXT_depth_bias_control
2023-06-20 13:31:48 +01:00
Philip Rebohle
b1b0abdbbf
[dxvk] Move presenter implementation to DXVK module
2023-06-01 17:48:51 +02:00
Philip Rebohle
be875cd7e6
[dxvk] Enable VK_EXT_swapchain_maintenance1 and surface_maintenance1
2023-06-01 17:48:51 +02:00
Philip Rebohle
f50f5bc9bc
[vulkan] Allow importing existing Vulkan dispatch tables
2023-03-16 20:59:43 +01:00
Philip Rebohle
4d0d455895
[vulkan] Try loading winevulkan.dll before vulkan-1.dll
...
Should bypass issues with third-party overlays trying to hook Vulkan.
2023-01-18 18:10:57 +01:00
Philip Rebohle
421d7d9077
Revert "[vulkan] Use fence for acquiring a swap chain image"
...
Breaks things and we don't really need this right now anyway.
2023-01-16 23:16:38 +01:00
Philip Rebohle
0e503ce795
[vulkan] Log swap chain color space
2023-01-16 18:04:18 +00:00
Philip Rebohle
1482715fd1
[vulkan] Use fence for acquiring a swap chain image
...
In practice, drivers will block here anyway.
2023-01-16 16:20:56 +01:00
Joshua Ashton
e5418a956a
[vulkan] Add setHdrMetadata method to Presenter
2022-12-19 22:15:18 +01:00
Joshua Ashton
731bf84edd
[dxvk] Enable VK_EXT_hdr_metadata
2022-12-19 22:15:18 +01:00
Joshua Ashton
50054d4675
[vulkan] Add supportsColorSpace method to Presenter
2022-12-19 22:15:18 +01:00
Joshua Ashton
fd661d587e
[vulkan] Simplify args to Presenter GetSupported* methods
2022-12-19 22:15:18 +01:00
Philip Rebohle
03dca539cb
[vulkan,d3d9,d3d11] Move surface creation to swap chain implementation
2022-11-07 14:14:05 +01:00
Philip Rebohle
49cf0ecf54
[vulkan] Don't handle SURFACE_LOST in Vulkan presenter
2022-11-07 14:14:05 +01:00
Philip Rebohle
1754b73ade
[wsi] Change interface for surface creation
...
This temporarily breaks Win32 swap chains, but we're fine with that
since this will take some refactoring.
2022-11-07 14:14:05 +01:00
Philip Rebohle
8e7ea899d2
[dxvk] Enable VK_EXT_extended_dynamic_state_3 if available
2022-10-24 16:39:24 +02:00
Joshua Ashton
36f523bbf5
[vulkan] Fix loading libvulkan natively
2022-09-01 04:37:43 +02:00
Philip Rebohle
f8781e1c4c
[vulkan] Add missing VK_EXT_debug_utils entry points
2022-09-01 00:25:10 +02:00
Joshua Ashton
286ab017da
[vulkan] Add valid method to LibraryLoader
2022-08-27 19:32:03 +02:00
Joshua Ashton
482a7e433b
[vulkan] Make LibraryLoader dynamically load vulkan-1
...
This makes LibraryLoader actually load the library and moves ownership
of GetInstanceProcAddr into it, which means we pass through the
loaders into their parents to grab stuff.
2022-08-27 19:32:03 +02:00
Joshua Ashton
eda3ba6372
[vulkan] Toss obsolete fullscreen exclusive hack
...
Wine never had support for VK_EXT_exclusive_fullscreen and Proton since dropped support for it now that Doom External does not require it.
2022-08-21 21:26:28 +02:00
Joshua Ashton
0dc3200951
[vulkan] Re-enable VK_USE_PLATFORM_WIN32_KHR everywhere
...
My initial idea was to if-def out the other extensions, but that's messy, so we just provide the needed types in the native headers now.
2022-08-21 19:31:33 +01:00
Joshua Ashton
4f80ffd830
[vulkan] Use surface creation from wsi interface
2022-08-20 20:27:07 +02:00
Philip Rebohle
61025c0079
[dxvk] Don't disable frame rate limiter if vsync is enabled
...
This only works if we know the actual refresh rate of the display.
However, in a wine virtual desktop or with proton's fshack, this
is often not the case, so we'd see a 60 Hz mode on a high-refresh
rate display and never actually enable the limiter.
2022-08-17 01:53:24 +02:00
Joshua Ashton
8580bb32ca
[vulkan] Only define VK_USE_PLATFORM_WIN32_KHR on Windows
2022-08-09 14:16:50 +01:00
Joshua Ashton
9cf5c648d3
[vulkan] Add feedback loop layout to getWritableAspectsForLayout
2022-08-06 01:33:30 +01:00
Philip Rebohle
c1cb4d9d18
[dxvk] Add feature check for external semaphores
2022-08-02 14:37:31 +02:00
Derek Lesho
a8e573b9b8
[dxvk] Enable VK_KHR_external_semaphore_win32 if available
2022-07-21 23:39:31 +02:00
Philip Rebohle
a40724aaf8
[dxvk] Add timeline semaphore entry points
...
Co-authored-by: Derek Lesho <dlesho@codeweavers.com>
2022-07-21 02:14:53 +02:00
Philip Rebohle
563b1d7801
[dxvk] Add entry points for copy_commands2
2022-07-19 13:49:01 +02:00
Philip Rebohle
0d65142136
[dxvk] Add entry points for new synchronization API
2022-07-18 22:49:49 +02:00
Philip Rebohle
fc461d0e27
[dxvk] Clean up some swapchain creation code
2022-07-18 14:49:28 +02:00
Philip Rebohle
cdf22a4086
[dxvk] Rename imageFormatInfo -> lookupFormatInfo
2022-07-15 17:25:13 +02:00
Philip Rebohle
7677db3371
[dxvk] Replace VK_EXT_extended_dynamic_state with core feature
2022-07-14 21:21:34 +02:00
Philip Rebohle
3cfc3e7714
[dxvk] Replace VK_KHR_dynamic_rendering with core feature
2022-07-14 21:21:34 +02:00
Philip Rebohle
b701dd497f
[dxvk] Drop VK_KHR_create_renderpass2
2022-07-14 21:21:34 +02:00
Philip Rebohle
afdaba6caf
[dxvk] Replace VK_KHR_buffer_device_address with core feature
2022-07-14 21:21:34 +02:00
Philip Rebohle
0b47297b7d
[dxvk] Replace VK_EXT_host_query_reset with core feature
...
And make it a hard requirement in the backend. We no longer support
the old fallback path for queries anyway.
2022-07-14 21:21:34 +02:00
Philip Rebohle
f07ba07ad8
[dxvk] Replace VK_KHR_draw_indirect_count with core feature
...
And enable it optionally in the backend, since we provide the functionality.
2022-07-14 21:21:34 +02:00
Philip Rebohle
021aff1fc0
[dxvk] Support fomatting more Vulkan enum names
2022-07-09 13:41:07 +02:00
Philip Rebohle
331c790592
[dxvk] Enable VK_EXT_shader_module_identifier if supported
2022-07-09 13:41:07 +02:00
Philip Rebohle
38cf16a5be
[dxvk] Enable and require VK_KHR_dynamic_rendering
2022-07-07 16:16:44 +02:00
Georg Lehmann
2550cff149
[build] Cleanup build system.
...
No changes except dropping support for msvc before 15.3.
2022-03-17 01:38:58 +00:00
Derek Lesho
b5014401e7
[dxvk] Enable VK_KHR_EXTERNAL_MEMORY_WIN32 if available.
2022-03-12 16:23:03 +01:00
Philip Rebohle
714ca48271
[dxvk] Work around device creation failure with CUDA interop extensions
2021-10-01 15:43:19 +02:00
Adam Moss
86148ec070
[d3d11,dxvk] Implement DXVK pieces required for DX11 DLSS support
...
Notably, fairly generic functions to create/launch/destroy Cuda kernels,
and methods to fetch GPU virtual addresses and handles for DX11 resources.
Note: Requires some corresponding dxvk-nvapi changes for DLSS to
be initialized successfully.
2021-09-24 15:10:07 +02:00
Philip Rebohle
c0a7143d1b
[vulkan] Fix missing include
...
Fixes #2269 .
2021-09-02 16:34:55 +02:00
Connor Abbott
b9135ca0cd
Do not try to load libraries natively under __WINE__
...
This was only half-implemented (e.g. OpenXR was still calling
GetModuleHandle), broke compilation with Vulkan due to mismatched ABI,
and wouldn't have worked anyways with winelib builds because we still
need access to wine's implementation of the Vulkan win32 winsys
integration. Perhaps this is still useful for dxvk-native but if so it
should be re-added under a DXVK_NATIVE flag.
2021-07-03 14:28:28 +02:00
Philip Rebohle
5e4ed2d929
[d3d11] Introduce CopyImage
2021-06-24 21:07:48 +02:00