Commit Graph

871 Commits

Author SHA1 Message Date
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
12e476dc81 Surface handles are now indirect. 2021-08-12 00:45:57 -07:00
4d79896b76 Introduced KrSurfaceMapIndex type, to decouple API from internal surface indices. 2021-08-11 18:02:04 -07:00
95a506e6bf Refactor Vulkan initialization, support multi-GPU 2021-08-11 17:46:26 -07:00
348ba3270b Reverted to SPIR-V 1.3
WIP Pipeline initialization
2021-08-11 01:11:52 -07:00
e3501544db WIP Initialize PIpelines 2021-08-11 00:25:38 -07:00
ce7ecbdd9a Compiling shaders to SPIR-V 1.5
WIP Vulkan Pipeline initialization
2021-08-10 20:13:32 -07:00
8b59c5c382 Create presentation thread 2021-08-10 17:57:13 -07:00
7965da421c hello_cube project now has its own asset bundle and runs without arguments 2021-08-10 00:49:34 -07:00
831cf2d1c5 Fix warnings 2021-08-09 19:47:19 -07:00
cb43ee1b5a Bump CMake
Update project for VS2020
2021-08-09 19:42:12 -07:00
a5d18962d3 Updated Hydra 2021-08-09 19:27:43 -07:00
f1fb41a29c Vulkan Shader Module initialization 2021-05-02 21:08:14 -07:00
2385a19926 Implement GPU auto selection, preferring discrete over integrated 2021-05-02 18:31:53 -07:00
76b7e64ae6 Fixed KRDatablock::Append where the data was not expanded correctly to concatenate a std::String. Converted sprite shader. Adjusted Spirv compile logging. 2020-12-30 18:24:36 -08:00
75d3f019ae Spirv binaries are now compiled into the standard asset bundle 2020-12-30 17:03:18 -08:00
893092e0ad Merge branch 'master' of github.com:kearwood/kraken into master 2020-12-30 15:20:23 -08:00
ba3c7ce25e Standard Asset sources now added to CMake project output 2020-12-30 15:19:11 -08:00
e477a4d81f Fixed warning 2020-08-09 20:39:04 -07:00
2b0482e1c6 KrDataBlock::Append(std::string) now correctly handles null termination in output KRDataBlock when used multiple times. Implemented KrGetResourceData API call. KrCompileAllShaders now outputs shader compilation logs as a KRResource. kraken_convert now outputs shader compile logs when failure occurs. 2020-08-09 20:34:21 -07:00
eefa3718ef kraken_convert now supports reading list of assets from a file. 2020-08-09 19:05:43 -07:00
fee1195cbc Experiment - debugging Azure DevOps build failure 2020-08-07 01:40:03 -07:00
b2650474ce WIP GLSLang based compilation 2020-08-07 00:41:05 -07:00