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

@@ -13,6 +13,8 @@ function void FS_FileClose(OS_Handle file);
function void FS_FileRead(OS_Handle file, void *ptr, U64 size, U64 offset);
function void FS_FileWrite(OS_Handle file, void *ptr, U64 size, U64 offset);
function U64 FS_FileSize(OS_Handle file);
typedef U32 FS_EntryType;
enum {
FS_ENTRY_TYPE_FILE = 0,
@@ -42,4 +44,6 @@ struct FS_List {
function FS_List FS_PathList(M_Arena *arena, Str8 path);
function Str8 FS_ReadEntireFile(M_Arena *arena, Str8 path);
#endif // LD_OS_FILESYSTEM_H_