Artem Kharytoniuk
a8fc2da718
Mipmaps.
2017-04-26 19:08:27 +03:00
Artem Kharytoniuk
d110d15a06
Image creation functions update.
2017-04-24 22:30:15 +03:00
Artem Kharytoniuk
1e74933a47
Clean up.
2017-04-24 18:49:53 +03:00
Artem Kharytoniuk
f2f0cea494
Staging buffer memory allocation.
...
Also removed the last piece of demo project code!
2017-04-24 16:35:46 +03:00
Artem Kharytoniuk
f823930d83
Demo project files removal and cleanup.
2017-04-22 01:16:32 +03:00
Artem Kharytoniuk
e3f41dd276
Demo project files removal and cleanup.
2017-04-20 12:57:46 +03:00
Artem Kharytoniuk
6df80b5783
Vk_Image structure to hold vulkan image's related resources.
2017-04-20 11:51:52 +03:00
Artem Kharytoniuk
ab32f499f8
Fixed r_fastsky and preparation to fix the rest of sky rendering.
2017-04-18 13:40:28 +03:00
Artem Kharytoniuk
a5d410fd9f
Cleanup.
2017-04-16 21:26:47 +03:00
Artem Kharytoniuk
eac342cdd9
Store vertex attributes in SOA style: continuous region of vertex buffer per attribute.
...
Removed structures that specified different vertex format.
2017-04-14 19:58:06 +03:00
Artem Kharytoniuk
047be0bd46
Code reorganization and cleanup.
2017-04-14 13:43:04 +03:00
Artem Kharytoniuk
8c5fc8f674
New pipeline and set layouts design.
...
Pipeline layout consists of two identical descriptor sets.
Each descriptor set defines single descriptor of combined image sampler type.
2017-04-13 19:37:11 +03:00
Artem Kharytoniuk
fb74befd75
Use push contants to specify mvp transform.
2017-04-13 18:03:12 +03:00
Artem Kharytoniuk
c208817246
Rename.
2017-04-12 18:31:29 +03:00
Artem Kharytoniuk
11791b47a3
Correct framebuffer's attachments clearing when multiple views are rendered.
2017-04-12 18:25:20 +03:00
Artem Kharytoniuk
6afd32f4d2
Clean up: moved command_pool/command_buffer handles to Vulkan_Instance.
2017-04-11 14:30:47 +03:00
Artem Kharytoniuk
eca35b6050
Clean up: introduced Vulkan_Instance, Vulkan_Resources structures.
...
Vulkan_Instance contains variables related to persistent vulkan resources like instance, device, queue, swapchain, etc.
Vulkan_Instance is re-iniitalized only during window creation.
Vulkan_Resources contains data specific to current game context, i.e. current level.
Vulkan_Resources can be re-loaded during level change, level exit, etc.
2017-04-11 14:05:38 +03:00
Artem Kharytoniuk
8a4cce66ed
Started work on removing vulkan demo code.
...
Cinematics update.
Clean up.
2017-04-10 11:11:17 +03:00
Artem Kharytoniuk
6d50cb783c
Proper images selection, so animation images work now.
2017-04-07 16:47:21 +03:00
Artem Kharytoniuk
0962288d03
Cleanup: removed unused GL_DECAL texture env mode.
2017-04-03 16:00:00 +03:00
Artem Kharytoniuk
6cd89f37ac
Working on UI drawing.
2017-03-28 16:50:16 +03:00
Artem Kharytoniuk
61647d8827
Cleanup.
2017-03-27 23:29:50 +03:00
Artem Kharytoniuk
54ab26edb3
Cinematic images update.
2017-03-27 17:20:21 +03:00
Artem Kharytoniuk
f12488d99f
Added vk.h/cpp - it is going to be the main vulkan related module in the renderer.
...
The plan is to remove other vulkan modules copied from the demo project for quick bootstrapping and replace them by more engine specific vulkan code.
2017-03-24 11:52:01 +02:00
Artem Kharytoniuk
f944034d17
First attempt for general frame begin/end vulkan functionality.
...
Test code to draw q3 cinematic.
Bugs to fix when things will settle down a bit: cinematic leaks memory, render_view function invalidates command buffer when multiple scenes are rendered in a single frame.
2017-03-23 23:19:44 +02:00
Artem Kharytoniuk
a4a5920a93
Removed unused function.
2017-03-20 12:48:10 +02:00
Artem Kharytoniuk
389bbf32c2
Rename: source -> src.
2017-03-17 15:28:25 +02:00