Commit Graph

333 Commits

Author SHA1 Message Date
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
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
831cf2d1c5 Fix warnings 2021-08-09 19:47:19 -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
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
b2650474ce WIP GLSLang based compilation 2020-08-07 00:41:05 -07:00
95fdd30b02 Now only initializing glslang when compiling shaders 2020-08-06 19:03:39 -07:00
78172b5abc Added KrCompileAllShaders and stub implementation 2020-08-06 18:15:58 -07:00
b405c3014f Creating image views for swap chain 2020-07-23 23:21:13 -07:00
af43934a01 Creating swap chain 2020-07-23 22:57:08 -07:00
a5aefdf3d6 WIP Creating Swap chain 2020-07-23 19:03:04 -07:00
9762e021ce A graphics device is now selected to ensure that it supports rendering to the window render surfaces 2020-07-23 18:29:03 -07:00
1ca6af364e Implemented KrCreateWindowSurface and KrDeleteWindowSurface 2020-07-23 17:03:40 -07:00
cf29556d41 WIP Implementing KrCreateWindowSurface and KrDeleteWindowSurface 2020-07-22 19:38:01 -07:00
f1d25b4cdf Disabled exceptions for stl on WIN32. Fixed warnings 2020-07-22 17:37:22 -07:00
46c356ebc5 Implemented KrMapResource 2020-07-22 17:11:27 -07:00
3737c5a250 Implemented unmapResource 2020-07-13 18:54:15 -07:00
5c349f7b94 Extenting stub functions from API into KRContext 2020-07-13 16:46:00 -07:00
a713c8273a Added KrSetNodeWorldTransform API Call stub function 2020-06-29 21:09:42 -07:00
7634d98641 Create structures and stub functions for scene graph manipulation 2020-06-24 23:47:00 -07:00
172ca74f70 Now using Volk rather than statically linking the Vulkan loader 2020-06-23 15:08:39 -07:00
4761bbc66b Implemented KrInitNodeInfo 2020-06-21 22:42:10 -07:00
0fc6ec1357 Added scene node structs to API 2020-06-12 18:49:07 -07:00
18a2bb5688 Added KrCreateScene API 2020-06-11 21:41:17 -07:00
592f811d71 Memory mapped krbundles fixed for WIN32 2020-06-08 23:23:39 -07:00
94b351f9ee Introducing KRResourceManager superclass 2019-12-08 16:29:49 -08:00
1c5520fa3a Added KRShader and KRShaderManager for spir-v binaries 2019-12-01 16:20:55 -08:00
9f71c278ea Imported glslang library. Refactoring shader manager. 2019-12-01 15:49:49 -08:00
20121e7eaa kraken_convert now takes an '-o' argument to specify the output bundle. Created cmake scripts to use kraken_convert to bundle standard assets. HRTF Kemar data is now bundled by cmake scripts. Added README.md for HRTF Kemar data 2019-11-30 17:57:45 -08:00
8abe05d950 Updated to VS 2019 2019-11-14 23:23:24 -08:00
Kearwood Kip Gilbert
aca476afa9 ShaderManager now uses SourceManager 2019-08-18 18:03:44 -07:00
Kearwood Kip Gilbert
cbbbe41cb0 Implemented KRSource and KRSourceManager. Implemented MoveToBundle api. 2019-08-18 17:57:41 -07:00