Commit Graph

14 Commits

Author SHA1 Message Date
2085908017 Added KRShaderManager::Includer
Now able to include shaders from other shaders with GL_GOOGLE_include_directive.
Added vulkan_test_include.glsl and included it from vulkan_test.vert.
2022-08-15 19:48:59 -07:00
41679f0497 Bump year in shader license headers 2022-07-16 01:12:16 -07:00
d5635a4996 Converted debug_font shader to Vulkan glsl 2022-07-08 22:20:03 -07:00
560f7da9e7 Implemented automatic binding of push constants at runtime using SPIRV-Reflection.
Replaced GL uniforms with Vulkan push constants.
2022-07-07 19:29:50 -07:00
88a1ca186b Added KRMesh::isReady
Vulkan test code now uses KRMesh and asset ingestion pipeline for vertex and index data.
Updated Vulkan test shader to match KRMesh attribute layout.
2022-07-07 00:23:14 -07: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
3c948e2337 WIP Vulkan Refactoring and reflection driven vertex attribute binding 2022-02-27 22:10:17 -08:00
d69699230a Updated HEaders 2021-08-16 16:35:36 -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
ce7ecbdd9a Compiling shaders to SPIR-V 1.5
WIP Vulkan Pipeline initialization
2021-08-10 20:13:32 -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
21ca133e30 Removed old shaders and asset folders 2019-12-01 16:38:50 -08:00
9f71c278ea Imported glslang library. Refactoring shader manager. 2019-12-01 15:49:49 -08:00