Commit Graph

191 Commits

Author SHA1 Message Date
3759e45c5d Remove redundant vkCmdBindDescriptorSets 2023-03-23 19:11:58 +00:00
5a824ee015 Finally get textures working again 2023-03-23 19:07:10 +00:00
8f596c9e15 Make test texture 2023-03-22 10:49:13 +00:00
fb57c7560e Add imageData copying 2023-03-22 10:42:07 +00:00
25ee640c41 Get textures working (almost) 2023-03-21 23:52:52 +00:00
9f88131371 Add combined image sampler descriptor support 2023-03-21 20:10:23 +00:00
41174515a8 make depth-stencil images dedicated allocations 2023-03-21 16:46:58 +00:00
0cdc7403b9 Clean up code 2023-03-21 15:21:24 +00:00
3cf8697847 Do something 2023-03-21 14:47:15 +00:00
b21dad41cd Choose depth buffer format; Log GPU memory usage 2023-03-21 14:18:59 +00:00
c462e873bc Re-add unifom buffer writing 2023-03-21 11:03:20 +00:00
3f1ef63a4e try fix vulkan sync error 2023-03-21 02:31:10 +00:00
6bf3a0eace add todo message 2023-03-20 21:29:02 +00:00
cd0cff7e01 Fix bugs for clang 2023-03-20 20:58:12 +00:00
3bf0f1511e Remove requirement for memory_priority extension 2023-03-20 14:25:22 +00:00
bailwillharr
36727d8d5e Merge branch 'dev' of github.com:bailwillharr/engine into dev 2023-03-18 10:50:24 +00:00
bailwillharr
7d1de98acf Make changes (overrite) 2023-03-18 10:50:00 +00:00
03ee152576 do something 2023-03-17 19:27:56 +00:00
bailwillharr
cd617e8619 DO lots 2023-03-15 23:11:24 +00:00
75174fea2c fix errors 2023-03-15 13:31:03 +00:00
bailwillharr
e1cb168cce Fix subpass dependency and do other things 2023-03-15 01:49:03 +00:00
bailwillharr
2f46fe21ef Get depth buffer working 2023-03-13 20:35:15 +00:00
9e7c6e923d Attempt to add depth buffer 2023-03-13 20:27:47 +00:00
3df5cfbc02 Fix code to make clang happy 2023-03-13 17:35:22 +00:00
bailwillharr
fa34a8c583 Make uniform buffers updateable. 2023-03-13 17:10:46 +00:00
bailwillharr
bbf582d85f Get descriptor sets working 2023-03-13 01:19:32 +00:00
bailwillharr
2bb75f4683 Get rendering kind-of working again 2023-03-12 20:39:11 +00:00
bailwillharr
8abfc69154 re-write pipeline code 2023-03-12 17:11:13 +00:00
bailwillharr
3e40ae3e1e Start rewrite of vulkan backend (again) 2023-03-12 16:14:55 +00:00
68d54667ec Limit to vsync by default 2023-02-24 16:35:27 +00:00
f6686b7e4f Clean up code 2023-02-19 15:30:21 +00:00
bailwillharr
7c0b286e13 Fix windows compilation 2023-02-19 13:55:08 +00:00
c6e0ce9eb7 Fix clang compilation 2023-02-18 15:54:31 +00:00
1206d4626c Fix shader error 2023-02-18 01:55:22 +00:00
d76c8bb9cb Do things 2023-02-15 16:00:54 +00:00
5890f94fe5 Do things 2023-02-13 11:27:18 +00:00
f32a42b393 Collision stuff 2023-02-12 14:50:29 +00:00
0a0f4758b1 add cubez 2023-02-09 20:44:37 +00:00
062b2d6c8f Get event system working; add collision events 2023-02-09 15:21:37 +00:00
bb7d70e79e Begin collision rewrite 2023-02-02 17:32:19 +00:00
ca02bf6084 Improve floor collisions, disable wall collisions 2023-01-28 00:24:04 +00:00
fce32b1320 get wall collisions kind of working 2023-01-26 23:52:25 +00:00
165d2687a8 Fix sphere normals 2023-01-26 21:54:20 +00:00
6e45aba65b ALlow texture filtering to be changed 2023-01-26 21:17:07 +00:00
2985a3af81 Try add player collision 2023-01-22 18:20:10 +00:00
5791b11fb9 Add persistent resources, clean up code 2023-01-20 20:59:35 +00:00
c489c66a44 Clean stuff up 2023-01-20 16:30:35 +00:00
0a39baea20 Add basic sphere collision testing 2023-01-18 14:42:09 +00:00
17f513d30f Add grass, fix sphere gen 2023-01-16 11:37:46 +00:00
16a522ea92 Enable frame limiter; fix linux compilation 2023-01-11 09:53:42 +00:00
bailwillharr
59cfd3c2f2 Move some code into source files. Make stb impl. 2023-01-08 15:22:44 +00:00
d7d8720c75 Fix bugs, add mesh gen 2023-01-06 16:45:39 +00:00
cf99262dc8 Fix bug where meshes are rendered by vertex count 2023-01-05 13:50:51 +00:00
b2831e2b5d Re-add model loading and clean up code 2023-01-05 13:21:33 +00:00
eac852eb93 Add many triangles to test rendering 2023-01-02 21:11:29 +00:00
e63e30fd4c Get ECS to a functional state 2023-01-02 17:24:20 +00:00
2a7a9e54b2 Get mesh renderer functional 2022-12-22 11:27:16 +00:00
c493ba559b Add mesh renderer 2022-12-20 23:51:04 +00:00
2f880981ac Get ecs to a somewhat functional state 2022-12-15 15:54:11 +00:00
1e06df5dc2 more ecs stuff 2022-12-15 10:07:22 +00:00
7920d1199e start implementing ECS 2022-12-14 22:50:17 +00:00
bailwillharr
a278b7d035 Remove stuff to rewrite 2022-12-01 19:08:21 +00:00
bailwillharr
60d1452f01 Add resource manager 2022-12-01 15:54:28 +00:00
bailwillharr
7788a86c2f Work on scene 2022-11-30 10:36:50 +00:00
bailwillharr
dc2cb22eb8 add objects back 2022-11-30 00:46:03 +00:00
bailwillharr
45a8c7be3c begin adding SceneManager 2022-11-29 14:22:03 +00:00
bailwillharr
fd6c99ea12 disable most of the engine for for rewrite 2022-11-28 16:33:50 +00:00
bailwillharr
cc705fde85 remove non-generic logic from engine game loop 2022-11-28 15:57:18 +00:00
bailwillharr
9c9b74f8fc Fix fonts. Optimise vulkan renderer 2022-11-28 15:02:08 +00:00
d8911df619 Do things 2022-11-28 09:39:00 +00:00
bailwillharr
69dae9ab42 Add stuff 2022-11-27 14:35:41 +00:00
e495183019 do font stuff 2022-11-23 18:09:49 +00:00
04a7114e0e do font stuff 2022-11-23 16:20:08 +00:00
bailwillharr
b5c7750649 Do stuff 2022-11-23 15:40:10 +00:00
28a017e5e7 Fix text file reading 2022-11-22 21:50:06 +00:00
bailwillharr
d91def268a Add better model loading, add test models 2022-11-21 17:14:31 +00:00
bailwillharr
6c50c37825 Add assimp library 2022-11-20 13:26:52 +00:00
f06ccecd33 Add multisampling 2022-11-15 19:53:40 +00:00
ceaa2c30f5 Do some things 2022-11-15 13:59:43 +00:00
ecab0acbf4 Fix shaderc linking and crlf shader errors in linux 2022-11-14 23:11:49 +00:00
bailwillharr
d71254985b Add textures 2022-11-11 16:18:22 +00:00
bailwillharr
7cc09484c1 Support textures with vulkan; add FPS limiter. 2022-11-10 14:12:29 +00:00
bailwillharr
d4106091cd Remove old TODO; begin texture impl. 2022-11-09 15:37:16 +00:00
bailwillharr
52009da6fa do stuiff 2022-11-08 15:34:59 +00:00
bailwillharr
b65058ab3e DO stuff 2022-11-08 13:42:07 +00:00
bailwillharr
f4fd782930 Add test project; work on gfx 2022-11-07 20:15:26 +00:00
ef518089cf Do bare 2022-11-07 11:10:29 +00:00
bailwillharr
99b287309d Add vulkan push constant support 2022-10-31 16:21:07 +00:00
d628414d69 break stuff 2022-10-27 23:06:56 +01:00
bailwillharr
d04e4a168a Do a ton of stuff. can't remember what 2022-10-27 17:58:30 +01:00
bailwillharr
df02820c7d do stuff 2022-10-24 15:16:04 +01:00
46895c0d4b Support multiple frames rendering at once 2022-10-24 14:30:05 +01:00
e811349e5b Make index buffers use 32 bit ints 2022-10-24 09:34:09 +01:00
6542b7039b Add null device 2022-10-24 01:14:08 +01:00
ce12534ad8 Add indexed buffer support 2022-10-24 01:10:48 +01:00
a24b951df1 Add support for multiple pipelines 2022-10-24 00:19:07 +01:00
bailwillharr
d6522730ae Initialise some member variables 2022-10-23 20:37:56 +01:00
14e9833a93 Make changes 2022-10-23 12:05:09 +01:00
2042a9a3b3 fix bug 2022-10-22 13:19:47 +01:00
b6a7634cc5 Get vertex buffers working 2022-10-22 13:15:25 +01:00