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
Artem Kharytoniuk
9b01830559
DX12: initial rendering code, just clear the render target.
2017-10-21 22:50:40 +02:00
Artem Kharytoniuk
5434627172
More DX12 initialization code,
2017-10-21 21:08:25 +02:00
Artem Kharytoniuk
22d5bdd053
Added initial D3D12 code.
2017-10-11 11:24:55 +03:00
Artem Kharytoniuk
089104f677
Fixed Vulkan issue when attachment size does not match framebuffer size.
...
The main part of the fix is to specify app's DPI awareness. It is done by specifying Windows DPI awareness in manifest file.
Additionally the test was added to ensure that selected r_mode does not exceed current desktop size.
2017-10-07 18:02:36 +03:00
Artem Kharytoniuk
364453310f
Fixed error in shader compilation script (inconsistent behavior in the latest update of visual studio).
2017-09-26 18:22:23 +03:00
Artem Kharytoniuk
4f8ad96127
Fixed image layout transition: use pipeline stage mask that is valid for all possible access types.
2017-09-20 22:58:05 +03:00
Artem Kharytoniuk
67bc847715
Removed extern declarations from vk.h that are used only by vk.cpp.
2017-06-07 11:13:09 +03:00
Artem Kharytoniuk
87852c1575
Improved gfxinfo output.
2017-05-29 17:03:25 +03:00
Artem Kharytoniuk
b6192ae7ba
Minor changes.
2017-05-29 14:55:59 +03:00
Artem Kharytoniuk
7b3917119f
Renames: Vk_Resources -> Vk_World, glActive- > gl_active.
...
Added comments to clarify purpose of Vk_Instance, Vk_World structures.
2017-05-29 14:22:51 +03:00
Artem Kharytoniuk
bee5d0a5ea
More cleanup.
2017-05-29 12:47:38 +03:00
Artem Kharytoniuk
7bf5958eb7
Code cleanup.
2017-05-28 23:31:36 +03:00
Artem Kharytoniuk
d82b2e6d5f
Vulkan SDK update (1.0.49.0).
2017-05-28 15:13:30 +03:00
Artem Kharytoniuk
cd8a3bb9fa
Added vulkan validation layers config.
2017-05-28 13:18:54 +03:00
Artem Kharytoniuk
8764c86290
Fixed incorrect color initialization for skybox rendering.
2017-05-28 01:18:53 +03:00
Artem Kharytoniuk
02e075e0f5
Fixed bug with insufficient buffer size to store image data (we should use scaled image dimensions, not original ones).
2017-05-28 01:13:00 +03:00
Artem Kharytoniuk
6079758830
Replaced spaces with tabs (Q3 code style).
2017-05-27 23:36:45 +03:00