wip
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
light7734 2025-10-09 13:44:32 +03:30
parent a1bdb0005f
commit e204a509d4
Signed by: light7734
GPG key ID: 8C30176798F1A6BA
4 changed files with 8 additions and 3 deletions

View file

@ -8,7 +8,6 @@
using ::lt::ecs::EntityId; using ::lt::ecs::EntityId;
using ::lt::ecs::Registry; using ::lt::ecs::Registry;
using ::lt::surface::SurfaceComponent;
Suite raii = "surface"_suite = [] { Suite raii = "surface"_suite = [] {
Case { "happy path won't throw" } = [&] { Case { "happy path won't throw" } = [&] {

View file

@ -1,7 +1,10 @@
#include <assets/shader.hpp> #include <assets/shader.hpp>
#include <renderer/frontend/messenger.hpp>
#include <renderer/frontend/renderer/pass.hpp> #include <renderer/frontend/renderer/pass.hpp>
#include <renderer/test/utils.hpp> #include <renderer/test/utils.hpp>
using ::lt::renderer::IMessenger;
Suite raii = "pass_raii"_suite = [] { Suite raii = "pass_raii"_suite = [] {
Case { "happy path won't throw" } = [] { Case { "happy path won't throw" } = [] {
auto fixture = Fixture_RendererSystem {}; auto fixture = Fixture_RendererSystem {};
@ -14,6 +17,9 @@ Suite raii = "pass_raii"_suite = [] {
lt::assets::ShaderAsset { "./data/test_assets/triangle.vert.asset" }, lt::assets::ShaderAsset { "./data/test_assets/triangle.vert.asset" },
lt::assets::ShaderAsset { "./data/test_assets/triangle.frag.asset" } lt::assets::ShaderAsset { "./data/test_assets/triangle.frag.asset" }
); );
expect_false(fixture.has_any_messages_of(IMessenger ::MessageSeverity::error));
expect_false(fixture.has_any_messages_of(IMessenger ::MessageSeverity::warning));
}; };
Case { "unhappy path throws" } = [] { Case { "unhappy path throws" } = [] {

View file

@ -47,8 +47,7 @@ System::System(CreateInfo info)
} }
System::~System() System::~System()
{ = default;
}
void System::on_register() void System::on_register()
{ {

View file

@ -188,6 +188,7 @@ private:
std::any &user_data std::any &user_data
) )
{ {
std::cout << "VULKAN MESSAGE: " << data.message << std::endl; // NOLINT
std::ignore = data; std::ignore = data;
std::ignore = type; std::ignore = type;