Commit Graph

793 Commits

Author SHA1 Message Date
9bdfb0feea Attached depth buffer to KRSurface and enabled depth testing in render pass 2022-03-01 23:53:42 -08:00
adfaf21cda Creating depth buffer for Vulkan 2022-03-01 23:24:55 -08:00
00eeb8bcb4 KRPipeline's are now created with the passed in KRMesh::model_format_t 2022-02-28 22:04:24 -08:00
4cb3566906 Test shader now using vertex buffer. Fixed CMake script so that shaders are now recompiled and re-bundled without having to re-building Kraken SDK. 2022-02-28 21:27:25 -08:00
b34ba9b096 Removing more OpenGL code from KRMeshManager 2022-02-28 20:54:03 -08:00
1a948915c6 Remove OpenGL code from KRMeshManager 2022-02-28 20:36:54 -08:00
b306670e9c Refactoring to pass command buffer through render calls, enabling Vulkan version of KRVBOData::Bind to replace the OpenGL version 2022-02-28 20:14:22 -08:00
0a18ddcbb3 Vulkan refactoring - passing VkCommandBuffer down through node render functions 2022-02-28 01:41:04 -08:00
6a56c9ebfe Added Vulkan versions of KRVBOData::bind and KRPipeline::bind 2022-02-28 01:07:32 -08:00
a26ee33e4c WIP Refactoring... 2022-02-28 00:17:12 -08:00
df344d0d7b Vertex attributes are now bound automatically to shaders using spirv reflection. 2022-02-27 23:51:29 -08:00
3c948e2337 WIP Vulkan Refactoring and reflection driven vertex attribute binding 2022-02-27 22:10:17 -08:00
d24df948c1 Added SPIRV reflection information to KRShader 2022-02-21 20:20:22 -08:00
e9df34b191 Added SPIRV-Reflect library 2022-02-21 19:35:55 -08:00
400a7e0061 WIP Binding vertex buffers 2022-02-13 22:22:51 -08:00
8414c1c0bb Added GPU debug label for shader modules 2022-02-13 21:25:57 -08:00
7166a21b81 Added GPU debug labels for vertex and index buffers with VK_EXT_debug_utils 2022-02-07 23:38:57 -08:00
227a2acaf4 Now copying vertex and index buffers to GPUs 2022-01-22 01:58:06 -08:00
100ab0d3de KRDeviceManager::getDeviceInfo refactored to KRDeviceManager::getDevice, and now returns a unique_ptr.
Now freeing vertex and index buffers.
2022-01-22 01:32:32 -08:00
ad596a82f9 WIP Index and Vertex buffer allocation 2022-01-22 01:01:08 -08:00
0330d5b4fe Commented out now broken Mesh loading OpenGL code. (Vulkan refactoring WIP) 2022-01-21 23:38:36 -08:00
d093cc6f96 Removed KRMeshManager's first-frame hackery for loading static meshes. They now load systematically. 2022-01-21 23:32:00 -08:00
739111ed2d Creating VmaAllocator object for each Vulkan device. 2022-01-15 03:34:41 -08:00
2df55cf31c Eliminated KRContext::KRENGINE_MAX_SHADER_HANDLES 2022-01-15 02:25:13 -08:00
a178ed8bcc Hard-coded dummy values for streamer thread configuration. (To be replaced after Vulkan conversion)
Eliminated KRContext::KRENGINE_MAX_SHADER_HANDLES
2022-01-15 02:24:08 -08:00
1053eb487c Imported Vulkan Memory Allocator submodule 2022-01-14 18:37:14 -08:00
3a06069184 Kraken tests now use hidpi aware windows 2021-08-18 01:20:00 -07:00
e485518227 Add explicit surface resize detection and handle window minimize. 2021-08-18 00:58:42 -07:00
2102faf4e5 Recreating swap chain when invalidated 2021-08-18 00:41:31 -07:00
42717276b5 Starting streamer thread 2021-08-17 01:49:30 -07:00
e046c1638a Remove dead code 2021-08-17 01:30:15 -07:00
f0b8dbbac5 Remove dead code 2021-08-17 01:25:53 -07:00
fc55a5d490 Session owned managers are now using std::unique_ptr 2021-08-17 01:22:18 -07:00
5d0a4bc9d2 Remove commented code 2021-08-17 00:38:11 -07:00
a3fc0d84d4 Implemented KRDeviceManager 2021-08-17 00:20:56 -07:00
f6b3845057 Added KRSurfaceManager 2021-08-16 23:36:05 -07:00
212cea794f Created KRPresentationThread 2021-08-16 22:52:26 -07:00
817cd32044 WIP Vulkan Pipeline refactoring 2021-08-16 22:04:02 -07:00
0e2bd45b7f Surface initialization and destruction moved to KRSurface 2021-08-16 19:51:15 -07:00
61a83dd28d Vulkan device initialization moved to KRDevice 2021-08-16 18:25:03 -07:00
748bd56b37 KRDevice refactoring WIP 2021-08-16 16:50:05 -07:00
d69699230a Updated HEaders 2021-08-16 16:35:36 -07:00
67ebb49d02 Update hydra 2021-08-16 16:34:21 -07:00
f8950ffc55 Added KRSurface to its own file. 2021-08-16 15:49:54 -07:00
92e7dec2fa Refactored SurfaceInfo to KRSurface and DeviceInfo to KRDevice. Created new files for KRSurface and KRDevice. 2021-08-16 15:49:17 -07:00
09b9841c03 Vulkan triangle!
Switched to Vulkan 1.1 GLSL dialect
Added vulkan test shader
Implemented test render thread function
2021-08-12 23:29:45 -07:00
1114210039 Create Vulkan semaphores for swapchain synchronization 2021-08-12 22:40:40 -07:00
0285e734bc Allocate Vulkan command buffers 2021-08-12 21:45:41 -07:00
9bc30e6937 Create vulkan command pools 2021-08-12 21:31:20 -07:00
3fff761bca Creating Vulkan framebufffers 2021-08-12 19:51:47 -07:00