Simply
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
#include <imgui_impl_vulkan.h>
|
||||
#include <imgui_internal.h>
|
||||
|
||||
#include <sophia/resource_registry.hpp>
|
||||
|
||||
#include "render_target.hpp"
|
||||
|
||||
namespace sophia {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -74,9 +74,8 @@ 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()),
|
||||
reinterpret_cast<const u32*>(bytes.data() + bytes.size()));
|
||||
this->spirv.assign(reinterpret_cast<const u32*>(bytes.data()),
|
||||
reinterpret_cast<const u32*>(bytes.data() + bytes.size()));
|
||||
|
||||
log::info("Loaded precompiled shader: " + path + " (" +
|
||||
std::to_string(bytes.size()) + " bytes)");
|
||||
|
||||
Reference in New Issue
Block a user