Drawing a textured quad

Added new assets
Loaded all texture assets into game state
Loaded the basic pipeline
Setup a hard-coded quad to test drawing
Created a very jank vertex struct
Added ReadEntireFile for filesystem
Added getting file size from file handle
Added a descriptor pool to each in flight frame
Changed Vk_BufferCreate to handle multiple uses
Added shader building to the windows.bat build script
This commit is contained in:
2025-10-04 21:42:04 +01:00
parent b1a805cea8
commit 187359f747
27 changed files with 470 additions and 57 deletions

View File

@@ -48,6 +48,20 @@
VK_FUNC(GetImageMemoryRequirements);
VK_FUNC(BindImageMemory);
VK_FUNC(MapMemory);
VK_FUNC(CreateGraphicsPipelines);
VK_FUNC(CreateShaderModule);
VK_FUNC(CreateDescriptorSetLayout);
VK_FUNC(CreatePipelineLayout);
VK_FUNC(CmdBindPipeline);
VK_FUNC(CreateDescriptorPool);
VK_FUNC(ResetDescriptorPool);
VK_FUNC(AllocateDescriptorSets);
VK_FUNC(CmdBindDescriptorSets);
VK_FUNC(UpdateDescriptorSets);
VK_FUNC(CreateSampler);
VK_FUNC(CmdDraw);
VK_FUNC(CmdSetViewport);
VK_FUNC(CmdSetScissor);
VK_FUNC(CmdCopyBufferToImage);
VK_FUNC(CmdPipelineBarrier2);