vulkan pipeline

This commit is contained in:
daiqingshuang
2024-02-19 18:02:58 +08:00
parent 162c660fb9
commit c93ed0fd77
35 changed files with 263 additions and 1128 deletions

View File

@@ -7,7 +7,6 @@
#include "imgui_internal.h"
#include "filesystem/stb_image.h"
#include "rhi/texture.h"
#include "rhi/opengl/renderer_opengl.h"
#include "rhi/vulkan/renderer_vk.h"
#include "spdlog/async.h"
#include "spdlog/spdlog.h"
@@ -21,7 +20,7 @@ static void glfw_error_callback(int error, const char* description) {
spdlog::error("Glfw Error {}: {}", error, description);
}
void application::init(window_params in_window_params, int argc, char** argv) {
void application::init(const window_params& in_window_params, int argc, char** argv) {
try {
async_spdlog_ = spdlog::basic_logger_mt<spdlog::async_factory>("async_file_logger", "logs/log.txt");
} catch (const spdlog::spdlog_ex& ex) {