engine args
This commit is contained in:
parent
a35e47e4b6
commit
7ed1d342c3
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ src/engine/scripts/
|
||||
x64/
|
||||
src/engine/idk/phys/PhysicsSystemNoMT.cpp
|
||||
*.log
|
||||
src/testproj/
|
||||
|
||||
@ -823,6 +823,7 @@ namespace idk::vkn
|
||||
|
||||
device->resetFences(*imageFence);
|
||||
hlp::EndSingleTimeCbufferCmd(cmd_buffer, view_->GraphicsQueue(), false, *imageFence);
|
||||
ucmd_buffer.release();
|
||||
uint64_t wait_for_milli_seconds = 1;
|
||||
uint64_t wait_for_micro_seconds = wait_for_milli_seconds * 1000;
|
||||
[[maybe_unused]] uint64_t wait_for_nano_seconds = wait_for_micro_seconds * 1000;
|
||||
|
||||
@ -1,7 +1,16 @@
|
||||
#include "pch.h"
|
||||
#include "ReflectReg_Components.inl"
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#include <vkn/VulkanView.h>
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
/*
|
||||
vk::UniqueDevice m_device;
|
||||
vk::GraphicsPipelineCreateInfo pipelineInfo;
|
||||
auto dispatch = vk::DispatchLoaderDynamic{};
|
||||
vk::UniqueHandle<vk::Pipeline, vk::DispatchLoaderDynamic> pipeline1 = m_device->createGraphicsPipelineUnique({}, pipelineInfo, nullptr, dispatch).value;
|
||||
vk::UniquePipeline pipeline2 = m_device->createGraphicsPipelineUnique({}, pipelineInfo, nullptr, {}).value;
|
||||
*/
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,6 +46,7 @@ target("game")
|
||||
|
||||
target("launcher")
|
||||
set_kind("binary")
|
||||
set_runargs("--project:$(curdir)/testproj/testproj.idk", "--engine:$(curdir)/engine")
|
||||
add_deps("editor", "win32")
|
||||
add_syslinks("Xinput")
|
||||
add_defines([[TEST_DATA_PATH=R"($(ProjectDir)test_data)"]])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user