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

This commit is contained in:
light7734 2025-10-10 14:55:10 +03:30
parent 6065ab1636
commit a599e65bae
Signed by: light7734
GPG key ID: 8C30176798F1A6BA
3 changed files with 12 additions and 13 deletions

View file

@ -232,7 +232,7 @@ void Instance::initialize_instance()
void Instance::load_library() void Instance::load_library()
{ {
constexpr auto runtime_loader_flags = RTLD_NOW | RTLD_DEEPBIND | RTLD_LOCAL | RTLD_NODELETE; constexpr auto runtime_loader_flags = RTLD_NOW | RTLD_LOCAL | RTLD_NODELETE;
library = dlopen("libvulkan.so.1", runtime_loader_flags); library = dlopen("libvulkan.so.1", runtime_loader_flags);
if (!library) if (!library)
{ {

View file

@ -10,7 +10,8 @@ Pass::Pass(
const lt::assets::ShaderAsset &vertex_shader, const lt::assets::ShaderAsset &vertex_shader,
const lt::assets::ShaderAsset &fragment_shader const lt::assets::ShaderAsset &fragment_shader
) )
: m_device(static_cast<Device *>(device)), m_layout(m_device->create_pipeline_layout( : m_device(static_cast<Device *>(device))
, m_layout(m_device->create_pipeline_layout(
VkPipelineLayoutCreateInfo { VkPipelineLayoutCreateInfo {
.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, .sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO,
.setLayoutCount = 0u, .setLayoutCount = 0u,
@ -112,7 +113,6 @@ Pass::Pass(
}; };
auto attachment_description = VkAttachmentDescription { auto attachment_description = VkAttachmentDescription {
.format = static_cast<Swapchain *>(swapchain)->get_format(), .format = static_cast<Swapchain *>(swapchain)->get_format(),
.samples = VK_SAMPLE_COUNT_1_BIT, .samples = VK_SAMPLE_COUNT_1_BIT,

View file

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