1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 01:24:11 +01:00
Commit Graph

59 Commits

Author SHA1 Message Date
Philip Rebohle
ff78112271 [include] Add missing D3D11 error definition for native 2024-10-30 10:51:11 +01:00
Ethan Lee
469025d234 native: Add SDL3 WSI
Co-authored-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2024-10-27 12:58:22 +01:00
Simon McVittie
f9b4046223 [build] Install headers for native builds
When building a game that has been ported to Linux using DXVK Native,
these headers are necessary to provide the Direct3D and DXVK APIs.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2024-05-21 19:18:12 +00:00
Ethan Lee
6259e86392 [meson] Use dependency() instead of find_library() for SDL2/GLFW detection.
Since we're not linking to the libraries anymore, it doesn't make much sense to
use find_library, and in fact we need to use dependency() in order to get the
right CFLAGS for includes, defines, etc, so use that instead.

As a result, we can remove the 'SDL2/' folders from the includes, making the SDL
includes more correct.
2024-05-13 13:18:03 +00:00
Philip Rebohle
f07e5f9eaa [include] Update SPIR-V headers 2024-03-05 14:41:18 +01:00
Philip Rebohle
d5c3011f54 [include] Update Vulkan headers 2024-03-05 14:41:18 +01:00
Ethan Lee
2334bbccb0 [native] Add a DECLARE_INTERFACE define for !CONST_VTABLE.
This helps avoid some compiler warnings on GCC in particular.
2024-01-26 17:48:44 +00:00
Ellie Hermaszewska
41191af3b1 A few more WinDef types in windows_base.h
These specific ones are used in MS's d3dx12 headers
2023-09-07 16:31:32 +02:00
Philip Rebohle
fb71c08d8c [include] Update Vulkan headers. 2023-08-24 13:12:07 +02:00
Joshua Ashton
138f727fbb [native] Add WAIT_* defines 2023-08-23 16:50:52 +02:00
Ellie Hermaszewska
dfbebba6b5
[native] Add CHAR and PCSTR to windows_base.h 2023-07-29 18:01:01 +01:00
Joshua Ashton
77f6f2a84b [include] Bump Vulkan headers to v1.3.254 2023-06-20 13:31:48 +01:00
Philip Rebohle
0543956ea0 [meta] Update Vulkan headers 2023-06-01 17:48:51 +02:00
Aleksey Komarov
20356148af
include: Add few defines and types in windows.h for DXVK Native (#3307)
* windows: add define for ZeroMemory

* windows: add few *LP types, DUMMYUNIONNAME*, __C89_NAMELESSSTRUCTNAME

---------

Co-authored-by: Joshie <joshua@froggi.es>
2023-05-03 12:58:33 +01:00
Ellie Hermaszewska
b81536458f
include: Implement some small utilities in native headers (#3361)
* Add QueryInterface template to IUnknown

As described here https://learn.microsoft.com/en-us/windows/win32/api/unknwn/nf-unknwn-iunknown-queryinterface\(q\)\?source\=recommendations

* Implement DEFINE_ENUM_FLAG_OPERATORS

* Add REFCLSID to windows_base.h

This is used by the latest d3d12 headers for D3D12GetInterface
2023-05-03 12:39:51 +01:00
Philip Rebohle
b06e82591e [include] Add definitions for D3D12 header 2023-03-16 20:59:43 +01:00
Beyley Thomas
c11a63f5e5 [wsi] Add GLFW backend 2023-01-08 10:36:25 +01:00
Philip Rebohle
a6ede3e0c2 [meta] Update Vulkan headers to 1.3.231 2022-10-24 16:39:24 +02:00
Philip Rebohle
2659cfc674 [native] Add defines for DuplicateHandle flags 2022-09-02 14:25:12 +02:00
Joshua Ashton
a29896642c [native] Bump DirectX headers
For _mingw_unicode for D3DCompiler
2022-08-26 19:52:26 +02:00
Joshua Ashton
2f3b3e64b4 [native] Add extra definitions needed for D3DCompiler 2022-08-26 19:52:26 +02:00
Philip Rebohle
c1448d31fa [meta] Use SPIRV-Headers repository as a submodule 2022-08-21 22:54:21 +02:00
Philip Rebohle
aa554f1166 [meta] Use Vulkan-Headers repository as a submodule 2022-08-21 22:54:21 +02:00
Joshua Ashton
91a5123ad0 [native] Add SDL2 native headers
Not included by DXVK at all, but used by external applications.
2022-08-21 19:31:33 +01:00
Joshua Ashton
e969f49cee [native] Add DirectX headers submodule
Adds DirectX headers for use when building DXVK
natively for Linux.

These use the substitute Windows headers I made.

These are a minimal set of DirectX specific headers that are compatible with the substitute Windows headers I made.

For any license concerns please see the README in the submodule.
2022-08-21 19:31:33 +01:00
Joshua Ashton
92698be09a [native] Add substitute Windows headers
Adds substutite Windows headers for use when building DXVK
natively for Linux.

The main one being windows_base.h which has all of the definitions.

It supports stuff like __uuidof using some template nonsense too.
2022-08-21 19:31:33 +01:00
Joshua Ashton
3c4e85d630 [meta] Update Vulkan headers to 1.3.224 2022-08-06 01:33:30 +01:00
Philip Rebohle
5ecd11fbd0
[meta] Update SPIR-V headers 2022-07-15 16:10:16 +02:00
Philip Rebohle
97f2d81b25
[meta] Update Vulkan headers to 1.3.219 2022-07-09 01:53:51 +02:00
Georg Lehmann
e9ac543627 [include] Update Vulkan headers to 1.3.217. 2022-07-07 14:18:49 +01:00
Philip Rebohle
552b29ca0c
[include] Update Vulkan headers to 1.2.197. 2021-11-03 14:11:23 +01:00
Adam Moss
3c7e5c9300 Update Vulkan headers to v182 2021-09-11 15:00:45 +02:00
Philip Rebohle
a714cd94bd
[include] Update Vulkan headers 2020-08-10 09:45:41 +02:00
Philip Rebohle
93f7735814
[meta] Update Vulkan headers 2020-07-10 16:59:16 +02:00
Philip Rebohle
513f3f552d
[meta] Update Vulkan headers 2020-05-04 13:16:08 +02:00
Philip Rebohle
6d9a1e69d6 [meta] Update Vulkan headers 2020-04-30 16:36:59 +02:00
Joshua Ashton
c47095a8dc
[meta] Update Vulkan headers 2019-12-03 00:53:16 +01:00
Philip Rebohle
e076b75579
[meta] Update SPIR-V headers 2019-07-11 19:33:17 +02:00
Philip Rebohle
5c7f8d8e30
[meta] Update Vulkan headers 2019-07-11 19:33:14 +02:00
Philip Rebohle
fbede70e93 [meta] Update Vulkan headers to 1.1.104 2019-03-17 16:24:57 +01:00
Philip Rebohle
f5960256d0
[meta] Update Vulkan headers to 1.1.101 2019-02-19 13:52:13 +01:00
Philip Rebohle
4171596d14
[meta] Update Vulkan headers to 1.1.98 2019-01-30 13:52:17 +01:00
Philip Rebohle
c8e44085c5
[meta] Update SPIR-V headers 2018-11-21 11:17:06 +01:00
Philip Rebohle
7738d2f353
[meta] Update Vulkan headers 2018-11-20 15:36:36 +01:00
Philip Rebohle
8cdccc6b05
[dxvk] Update Vulkan headers 2018-10-10 13:05:24 +02:00
Philip Rebohle
54b2001f42
[meta] Update Vulkan headers to 1.1.84 2018-09-10 21:03:18 +02:00
Philip Rebohle
4ab5682260 [general] Update Vulkan headers to 1.1.80 2018-07-14 12:36:43 +02:00
Philip Rebohle
1fdcbdfa40
[vr] Add missing license file 2018-06-05 11:39:46 +02:00
Philip Rebohle
2c9c7e1a36
Merge branch 'openvr-v2' 2018-06-05 00:16:37 +02:00
Philip Rebohle
b7dff330f8
[spirv] Update SPIR-V headers 2018-06-01 13:43:19 +02:00