Commit Graph

70 Commits

Author SHA1 Message Date
Jérôme Leclercq
608b80981d Fix OpenGL & Vulkan renderers 2020-08-11 00:13:00 +02:00
Jérôme Leclercq
1a12e18a36 Fix copyright dates and some defines 2020-08-11 00:01:49 +02:00
Jérôme Leclercq
0da2ee6c99 First rendering using Spir-V generated shaders \o/ 2020-08-09 00:24:07 +02:00
Lynix
50bd150345 WIP 2020-08-02 20:42:51 +02:00
ImperatorS79
ee93680083 Fix arrayLayers not being correctly computed in VulkanTexture.cpp for ImageType_2D_array 2020-07-08 22:32:50 +02:00
Lynix
e0e7435c55 Merge fixes 2020-05-27 20:03:46 +02:00
Lynix
8fa456bdf5 Renderer: Remake backend selection 2020-05-23 22:07:22 +02:00
Lynix
494801282d Minor fixes 2020-04-26 16:29:39 +02:00
Lynix
b4b15f826d OpenGL: Implement textures 2020-04-19 15:33:56 +02:00
Lynix
3b24d020e8 Minor stuff 2020-04-19 01:24:37 +02:00
Lynix
e905c3a004 Move Vulkan debug callback to module 2020-04-13 15:12:58 +02:00
Lynix
75241ed8f0 VkRenderWindow: Default to RGBA8 if supported 2020-04-13 15:11:35 +02:00
Lynix
d9a08640d6 Vulkan: Add renderpass and framebuffers 2020-04-10 17:36:05 +02:00
Lynix
9507c56fc9 PixelFormat rename
PixelFormatInfo => PixelFormatDescription
PixelFormat => PixelFormatInfo
PixelFormatType => PixelFormat
2020-04-10 14:19:36 +02:00
Lynix
87f1209327 Vulkan: Refactor command buffer and introduce command pool 2020-04-07 21:10:16 +02:00
Lynix
f6d21d066e Vulkan: Improve RenderWindow subpass dependencies 2020-04-06 21:14:18 +02:00
Lynix
ac8b908079 Vulkan: Replace ShaderBinding& by ShaderBindingPtr 2020-04-06 21:13:59 +02:00
Lynix
f443bec6bc Add command buffers (WIP) 2020-04-02 21:07:01 +02:00
Lynix
cf396b0792 Add support for VK_EXT_debug_utils 2020-03-26 23:34:58 +01:00
Lynix
15b95ca4a1 Minor and forgotten stuff 2020-03-26 21:20:00 +01:00
Lynix
1dc0ed8e94 Add ShaderBinding 2020-03-26 21:19:46 +01:00
Lynix
874130efd4 Implement Texture and TextureSampler 2020-03-26 21:18:35 +01:00
Lynix
b73d3e8f04 Add and make use of Vulkan Memory Allocator 2020-03-26 21:15:49 +01:00
Lynix
509c392e05 Implement UploadPool to efficiently update UBOs 2020-03-26 21:13:06 +01:00
Lynix
d892e8eaff Add support for Vulkan 1.1 & 1.2 2020-03-26 20:42:57 +01:00
Lynix
42d58bd77c Vulkan: Add physical device extension listing 2020-03-18 13:58:30 +01:00
Lynix
07fa581525 Cleanup device creation/selection 2020-03-18 13:48:53 +01:00
Lynix
4ede9f1cfe Add texture in demo 2020-03-18 13:48:05 +01:00
Lynix
9cc206b33e Minor C++ fixes 2020-03-17 17:13:27 +01:00
Lynix
5fde1e335b VulkanBuffer: Use WaitIdle instead of a fence (same effect) 2020-03-15 13:26:36 +01:00
Lynix
74adef0aec OCD fix 2020-03-14 17:34:21 +01:00
Lynix
cee47f366f Rename Vk::Queue to Vk::QueueHandle 2020-03-14 17:33:50 +01:00
Lynix
b774a879b6 Rework buffers synchronization 2020-03-13 18:44:49 +01:00
Lynix
63547fcd4e Replace DeviceHandle by references
and keep device alive until Vulkan is freed
2020-03-13 18:38:26 +01:00
Lynix
28cf4ed6e3 Make Vk::Device store a reference to Vk::PhysicalDevice info 2020-03-08 18:10:12 +01:00
Lynix
0e27c2315f Move Vulkan functions list to external files 2020-03-08 18:09:45 +01:00
Lynix
2b3241f354 Add RenderPipelineLayout 2020-03-05 20:35:31 +01:00
Lynix
4941de61da Spaaaace 2020-03-05 17:28:16 +01:00
Lynix
c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
74275292bf Some cleanup 2020-03-05 17:24:55 +01:00
Lynix
9515f1c807 Improve synchronization based on vulkan-tutorial
https://vulkan-tutorial.com/Drawing_a_triangle/Drawing/Rendering_and_presentation
2020-03-04 20:13:37 +01:00
Lynix
9f4037e461 Reverse front face 2020-03-04 18:55:37 +01:00
Lynix
7ba9a33d35 Add Fence objects (+ use them for sync) 2020-03-04 18:50:41 +01:00
Lynix
7bf734cdd4 Improve pipeline building 2020-03-03 22:26:57 +01:00
Lynix
d5c75926c6 WIP (VertexDeclaration) 2020-03-03 01:04:24 +01:00
Lynix
287be5d9b6 WIP 2020-03-01 20:31:48 +01:00
Lynix
286461c482 Make use of Nazara uniform buffer 2020-03-01 12:49:49 +01:00
Lynix
af28ea02a8 Vulkan usage fixes 2020-02-29 23:28:59 +01:00
Lynix
5d449095bf Renderer: Add ShaderStage class 2020-02-29 23:28:21 +01:00
Lynix
798425ce10 Some work on render pipelines 2020-02-27 23:12:29 +01:00