This commit is contained in:
2026-09-20 18:58:51 -07:00
parent 5e1caabde6
commit fe40d4a629
3 changed files with 3 additions and 7 deletions
-2
View File
@@ -5,8 +5,6 @@
#include <imgui_impl_vulkan.h>
#include <imgui_internal.h>
#include <sophia/resource_registry.hpp>
#include "render_target.hpp"
namespace sophia {
+1 -2
View File
@@ -3,6 +3,7 @@
#include <imgui.h>
#include <sophia/handles.hpp>
#include <sophia/resource_registry.hpp>
#include <sophia/types.hpp>
#include <sophia/ui/dock_layout.hpp>
#include <unordered_map>
@@ -12,8 +13,6 @@
namespace sophia {
class ResourceRegistry;
class ImGuiRenderer {
public:
ImGuiRenderer(const ImGuiRenderer&) = delete;
+1 -2
View File
@@ -74,8 +74,7 @@ void Shader::load(const std::string& path, ShaderStage shaderStage) {
throw std::runtime_error("invalid SPIR-V binary: " + path);
}
this->spirv.assign(
reinterpret_cast<const u32*>(bytes.data()),
this->spirv.assign(reinterpret_cast<const u32*>(bytes.data()),
reinterpret_cast<const u32*>(bytes.data() + bytes.size()));
log::info("Loaded precompiled shader: " + path + " (" +