Commit Graph

293 Commits

Author SHA1 Message Date
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
Artem Kharytoniuk 90ff26426a DX12: clear attachments. 2017-12-15 23:16:27 +01:00
Artem Kharytoniuk aab2b2945f DX12: depth bias. 2017-12-11 23:34:34 +01:00
Artem Kharytoniuk 5725d9843c DX12: Samplers. 2017-12-10 15:26:49 +01:00
Artem Kharytoniuk 518417ad87 DX12: color modulation and multitexture support. 2017-12-09 22:11:33 +01:00
Artem Kharytoniuk 69fc682c95 DX12: mipmaps. 2017-12-09 21:32:20 +01:00
Artem Kharytoniuk ed86e89da2 DX12: finished pipeline creation code. 2017-12-09 20:43:00 +01:00
Artem Kharytoniuk 81c579529a DX12: shaders compilation pipeline. 2017-12-09 14:48:31 +01:00
Artem Kharytoniuk aa9fdefde9 DX12: Removed unused code, renames. 2017-12-09 13:27:18 +01:00
Artem Kharytoniuk 212dc81e2e DX12: depth buffer support. 2017-12-09 10:53:34 +01:00
Artem Kharytoniuk 7f597965fb DX12: pipelines creation (WIP). 2017-12-09 01:48:21 +01:00
Artem Kharytoniuk d148127fca DX12: mvp transform. 2017-12-06 21:54:49 +01:00
Artem Kharytoniuk b835efea2b DX12: Initial setup that can render some broken geometry. 2017-12-05 22:09:14 +01:00
Artem Kharytoniuk c70309c539 DX12: First texture. 2017-11-18 00:46:16 +01:00
Artem Kharytoniuk a32a863d83 DX12: first triangle. 2017-10-22 20:08:54 +02:00