Commit Graph

37 Commits

Author SHA1 Message Date
Timothy Warren
2e9cdf2bd1 Set max mipmapping level 2023-04-24 10:17:28 -04:00
Timothy Warren
bd370e1bf9 Pass along the level of mip maps, and generate the mipmaps 2023-04-24 10:13:39 -04:00
Timothy Warren
da64696c8f More code reorganization 2023-04-20 11:28:43 -04:00
Timothy Warren
e61e15770e Deduplicate vertices for model rendering 2023-04-20 11:06:52 -04:00
Timothy Warren
e5a30c50a9 Actually render a model with texture 2023-04-20 11:01:17 -04:00
Timothy Warren
e88564d894 Set up depth buffering 2023-04-19 10:55:49 -04:00
Timothy Warren
0a3cd3e809 Rendering an image as a texture 2023-04-19 10:17:19 -04:00
Timothy Warren
29095b589d Create image view and sampler 2023-04-14 10:48:59 -04:00
Timothy Warren
8ceea7b945 Move common functions up a level 2023-04-14 10:48:35 -04:00
Timothy Warren
3e453a8170 Complete section 28 2023-04-14 10:21:26 -04:00
Timothy Warren
425577029d Start on implementing texture mapping (partially complete section 28 of the tutorial) 2023-04-13 15:56:16 -04:00
Timothy Warren
2d5a0420cd Add resources folder 2023-04-13 15:54:58 -04:00
Timothy Warren
afeb1b6fef Now we have a spinning square 2023-04-13 10:31:49 -04:00
Timothy Warren
fafbf868bf Add Descriptor layout and its buffer 2023-04-13 10:14:10 -04:00
Timothy Warren
399cce3d81 Draw a rectangle with an Index buffer 2023-04-12 15:13:52 -04:00
Timothy Warren
71d1e923f0 More refactoring 2023-04-12 14:53:59 -04:00
Timothy Warren
c1b448433a Use staging buffer with the vertex buffer 2023-04-12 13:48:07 -04:00
Timothy Warren
f7ada5471d Minor refactoring, extract create_buffer method 2023-04-12 13:23:19 -04:00
Timothy Warren
3dbc718446 Modularize AppData struct 2023-04-12 11:23:21 -04:00
Timothy Warren
71449ae29b Move shader vertices into a vertex buffer 2023-04-12 10:28:48 -04:00
Timothy Warren
96447196a2 Handle resizing and minimizing 2023-04-07 14:48:12 -04:00
Timothy Warren
d0871fa4c5 Add more syncing to make sure we aren't wastefully rendering 2023-04-07 12:18:44 -04:00
Timothy Warren
61bd125414 Actually display a triangle on screen! 2023-04-07 11:20:48 -04:00
Timothy Warren
b0159a299c Set up Framebuffers, Command Pool, and Command Buffers 2023-04-07 10:48:51 -04:00
Timothy Warren
1059dc028c Finish the pipeline 2023-04-07 10:10:11 -04:00
Timothy Warren
2ea377d91f Add fix-function pipeline steps, and set up the render pass 2023-04-07 10:03:59 -04:00
Timothy Warren
6f9d56d370 Create pipeline and shader modules 2023-04-06 15:28:09 -04:00
Timothy Warren
cc941caa71 Add image views 2023-04-06 14:35:50 -04:00
Timothy Warren
f9c423cd47 Add the swapchain 2023-04-05 16:34:09 -04:00
Timothy Warren
2c5928dac4 Add window surface, fix rendering of logical device on mac 2023-04-05 15:41:32 -04:00
Timothy Warren
9713441c2e Create logical device and its queues 2023-04-05 13:04:20 -04:00
Timothy Warren
469ca82914 Selecting a physical device 2023-04-05 11:08:36 -04:00
Timothy Warren
34fb477871 Refactor to split app/library 2023-04-05 10:48:25 -04:00
Timothy Warren
424be52645 Add validation layers for debugging 2023-04-05 10:13:39 -04:00
Timothy Warren
acd2632271 Create Vulkan instance 2023-03-31 11:09:20 -04:00
Timothy Warren
311332c6d8 Create a window 2023-03-31 10:50:34 -04:00
Timothy Warren
cdc67e63dc First commit 2023-03-31 10:33:37 -04:00