Commit Graph

307 Commits

Author SHA1 Message Date
Artem Kharytoniuk
765f665164 Fix com_maxfps for dx12 backend 2021-06-16 23:10:13 +02:00
Artem Kharytoniuk
90b266515e Update README.md 2019-10-06 17:55:56 +02:00
Artem Kharytoniuk
ea30be213b Update README.md 2019-10-06 17:54:49 +02:00
Artem Kharytoniuk
377d48b824 Update dx.h 2019-10-06 17:54:16 +02:00
Artem Kharytoniuk
5c82f9e05d Update README.md 2019-10-06 17:47:39 +02:00
Artem Kharytoniuk
32d61423bb Update README.md 2019-10-06 17:42:16 +02:00
Artem Kharytoniuk
b950deb2dd Use official khronos validation layer 2019-08-30 23:51:57 +02:00
Artem Kharytoniuk
2d62ff47df Fixed opengl initialization error when changing and applying graphics settings from UI.
It turns out ui.qvm is compiled with unix opengl driver name - libGL.so.1 which in some scenarios can be assigned to r_glDriver.
Original Q3 handles this by making an attempt to load default driver in case r_glDriver loading error.
Implemented similar logic here.
2018-07-07 15:49:47 +02:00
Artem Kharytoniuk
c3ea7fed26 Do not specify anisotropy flag when creating a sampler (since anisotropic filtering is not used by the engine).
This fixes validation layer warning.
2018-03-25 00:35:13 +01:00
Artem Kharytoniuk
4102b0f2c8 Update README.md 2018-01-15 22:07:19 +01:00
Artem Kharytoniuk
11e6e7d470 Update README.md 2018-01-15 21:52:20 +01:00
Artem Kharytoniuk
a01a151b2b Updated debug callback signature to match requirements for vulkan function declarations. 2018-01-14 21:17:35 +01:00
Artem Kharytoniuk
971f1dc726 Removed user example file. 2018-01-14 19:29:37 +01:00
Artem Kharytoniuk
db385ce13a Update README.md 2018-01-14 17:37:43 +01:00
Artem Kharytoniuk
d213baea81 Enable validation layers through code instead of configuration file. 2018-01-14 17:06:00 +01:00
Artem Kharytoniuk
9b106ec102 Fixed crash in r_debugSurface (tr_main.c). Minor tweaks. 2018-01-13 13:10:59 +01:00
Artem Kharytoniuk
f38011533d DX12 backend is turned off by default. Can be enabled with ENABLE_DX12. 2018-01-13 13:19:17 +01:00
Artem Kharytoniuk
e86e65f173 Update README.md 2017-12-31 19:52:43 +01:00
Artem Kharytoniuk
109a022d7a Simplified r_twinMode usage. 2017-12-31 19:48:28 +01:00
Artem Kharytoniuk
abe1efe3aa Updated swapchain image count selection algorithm.
The previous version was correct from Vulkan spec standpoint but due to bug in AMD drivers we can not
safely use surface_caps.minImageCount for the number of images in the swapchain for fullscreen window.
Now we request at least 2 images for immediate and fifo mode.
2017-12-31 13:13:44 +01:00
Artem Kharytoniuk
c30a4b867f Vulkan: use VK_EXT_debug_report in debug configuration and break on warnings and errors. 2017-12-30 22:16:17 +01:00
Artem Kharytoniuk
8c60e190c5 Fixed regression introduced during dx12 development. 2017-12-30 22:10:00 +01:00
Artem Kharytoniuk
fd0d330d83 Update README.md 2017-12-25 20:14:28 +01:00
Artem Kharytoniuk
8139d0dd4c Update README.md 2017-12-25 19:54:15 +01:00
Artem Kharytoniuk
497a74dcca DX12: added macro DISABLE_DX12 that allows to disable DX12 backend. 2017-12-25 16:57:33 +01:00
Artem Kharytoniuk
52ac138485 DX12: cleanup. 2017-12-25 10:01:32 +01:00
Artem Kharytoniuk
ac233e7ab9 DX12: renames. 2017-12-25 09:44:54 +01:00
Artem Kharytoniuk
aa43a0e5a5 DX12: undef macro. 2017-12-25 01:05:23 +01:00
Artem Kharytoniuk
f4e9df2de2 Fixed bug in dx_wait_device_idle. 2017-12-25 00:53:52 +01:00
Artem Kharytoniuk
bf0a7be1f3 DX12: comments. 2017-12-24 23:26:06 +01:00
Artem Kharytoniuk
fbe4bbdad4 DX12: cleanup. 2017-12-24 22:01:41 +01:00
Artem Kharytoniuk
6552cd2a64 DX12: index buffer alignment check. fixed invalid use of resources during restart. 2017-12-24 18:52:49 +01:00
Artem Kharytoniuk
0aa262a47f DX12: windows positioning adjustment in twin mode. 2017-12-24 00:54:25 +01:00
Artem Kharytoniuk
c326ac6e3b DX12: added dx12 support to r_renderAPI/r_twinMode cvars. 2017-12-24 00:11:35 +01:00
Artem Kharytoniuk
2610ef131e DX12: removed some dependencies on vulkan implementation. 2017-12-23 22:11:09 +01:00
Artem Kharytoniuk
ca9ab2c38c DX12: removed d3dx dependency. 2017-12-23 14:01:52 +01:00
Artem Kharytoniuk
02b2c5a254 DX12: removed some compilation dependencies. 2017-12-23 12:10:05 +01:00
Artem Kharytoniuk
34e9bf7ab9 DX12: upload texture data without using obscure dx12 helpers. 2017-12-23 10:59:25 +01:00
Artem Kharytoniuk
c81a77fe4b DX12: 16 bit textures. 2017-12-23 00:02:41 +01:00
Artem Kharytoniuk
6e4a2f13aa DX12: frames synchronization.
We have a sync with GPU at the beginning of dx_begin_frame but in
practise we never wait since we usually CPU limited for such simple graphics.
2017-12-18 20:50:00 +01:00
Artem Kharytoniuk
79545d341f DX12: dx_end_frame was not called when disconnecting during active game. 2017-12-17 21:38:29 +01:00
Artem Kharytoniuk
e918bf846b DX12: r_showimages. 2017-12-17 21:24:59 +01:00
Artem Kharytoniuk
a72f05e91e DX12: debug surfaces. 2017-12-17 20:07:37 +01:00
Artem Kharytoniuk
94fdf1570b DX12: debug triangles and normals. 2017-12-17 14:53:09 +01:00
Artem Kharytoniuk
40af5ae62b DX12: hyperspace, r_clear, minor renames. 2017-12-16 21:16:41 +01:00
Artem Kharytoniuk
12da3b4d44 DX12: skybox. 2017-12-16 21:06:25 +01:00
Artem Kharytoniuk
062ad9974d DX12: stencil shadows. 2017-12-16 20:58:19 +01:00
Artem Kharytoniuk
5853e1e3d3 DX12: alpha test. 2017-12-16 15:51:26 +01:00
Artem Kharytoniuk
a530367647 DX12: geometry clipping for mirrors and portals. 2017-12-16 14:50:53 +01:00
Artem Kharytoniuk
b68e1600ac DX12: fog and dlights. 2017-12-15 23:38:19 +01:00