There was an issue with image size for depth
and color attachment, which has been fixed.
Also, finally found and issue with semaphore indexing
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
Added event handler implementation.
Moved enginge specific implementation outside graphics module
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
Previously movement was based on frames rather than
time. I added time_get_dt() function for getting time
since last frame and changed rotation speed to use this
function.
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
Added console FPS counter. Thise required me to create
some time functions and remove FPS cap from Vulkan
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
Added time based scene rotation as a proof of concept.
Based on this implementation, I can not only move
scene using external data (like mouse, in the future)
but also I can use provided functionality to get high resolution
timer for future use
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
UBO should be used for large data. MVP should be
push constants, since it's a small amount of data
updated every frame
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
There was a code, where id for something was u32, and
u16 for other things. I have created a typedef to fix
that
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
There is no need for stack implementation to be used here.
Simple C operations are enough for now
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
This is working repository now. I had to clean this up due to
my f_ups, that made this simple repo around 200MB large.
Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>