Commit graph

50 commits

Author SHA1 Message Date
cbadffc41f
Rename project
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 4m11s
2024-12-08 15:36:54 +01:00
a1961cff05 Begin implement Vertex
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 4m25s
2024-12-06 17:06:17 +01:00
84666db1d8
Try fix github action #5
All checks were successful
Build legacy Nix package on Ubuntu / build (push) Successful in 4m27s
2024-11-27 22:47:31 +01:00
20260c0ede
Try fix github action #4 2024-11-27 22:44:47 +01:00
19dd855938
Try fix github action #3
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 4m18s
2024-11-27 22:37:15 +01:00
75adf917c3
Try fix github action #2
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 7s
2024-11-27 22:34:33 +01:00
4802fc8246
Try fix github action
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 16s
2024-11-27 22:26:46 +01:00
7b5cae8322
Export triangle to external scene
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 1s
2024-11-27 22:16:26 +01:00
4b08b7359d
vulkan: Move allocate to command pool
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 1s
2024-11-27 21:27:50 +01:00
a669247406
vulkan: Move to renderer module
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 1s
2024-11-27 20:59:39 +01:00
001547dbc2
vulkan: Rename name mistake to handle 2024-11-27 20:48:34 +01:00
dd8a5a97ea
Update
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 1s
2024-11-24 19:24:28 +01:00
c0367144a6 First render !!!
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 1s
2024-11-22 17:06:39 +01:00
2590db0a06
Fix errors
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-20 20:08:31 +01:00
1dc9da0d61 Update [broken]
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-20 17:45:26 +01:00
8f1172e888 Add possibility to run program from nix shell
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-19 17:42:35 +01:00
504fdada42 Update
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-18 17:37:34 +01:00
f67804abd9 Run cargo fmt
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-18 13:12:09 +01:00
86f4e6a047 Cleaning comments
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-18 13:11:31 +01:00
b2d28ef408
Continue vulkan c++ tutorial
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-17 20:19:34 +01:00
81e4212d8e
VkSwapchain: Use ComponentSwizzle::IDENTITY instead of each settings
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-17 16:25:26 +01:00
002d6fa9a4
Move create_image_view to vkSwapchain->create_present_image_view
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-17 16:18:35 +01:00
891835c4af
log: Remove vulkan target
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-17 15:40:30 +01:00
fc4a856048
VkSwapchain: Revert rename surface_resolution
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-17 14:12:05 +01:00
210a5504ab
Refactor
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-17 14:07:37 +01:00
e9ce480f96
Run cargo fmt
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-16 22:45:22 +01:00
bc94b68c0c
Add log + Cleanup
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-15 23:16:18 +01:00
21195b57e6
VkSwapchain: Remove useless drop_swapchain
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-15 22:49:05 +01:00
5272bf14e8
VkSwapchain: remove useless lifetime
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-15 22:43:15 +01:00
174e12591c
Use Arc to store reference and store dependencies for each vulkan types
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Arc it's used because later, i can use on multi-threaded programs
2024-11-15 22:40:36 +01:00
1cb9309a56
WindowSize: Use physical size instead
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-15 20:43:24 +01:00
fb4ac29c07 Add a lot of thing
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-15 13:59:19 +01:00
09e109d6ef Update vk_swapchain
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
- Refactor drop swapchain
- Fix crash when re-create swapchain
2024-11-15 12:38:14 +01:00
96cb003174 Refactor vk_swapchain
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-13 13:56:22 +01:00
ee8b886aec
Add swapchain (work in progress)
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-12 22:01:08 +01:00
caa79270db Refactor
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-12 13:25:52 +01:00
d0c6f31a1a
Refactor Vulkan device and instance handling
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Refactor Vulkan initialization to merge logical and physical device management into a unified `VkDevice` struct. Improved logging for Vulkan instance creation and surface management. Added methods to `VkPhysicalDevice` and `VkSurface` for more detailed querying of physical device capabilities.
2024-11-11 12:09:52 +01:00
b91571e777
Enhance vulkan instance and physical device display formatting
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Refactor Vulkan instance and physical device formatting for better clarity. Added formatter utilities to encapsulate version and property formatting. Updated logging to use the new formatted output for improved debug readability.
2024-11-10 21:27:03 +01:00
b7d0abb9ed
Refactor layer selection logic for more flexibility
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Updated the layer selection logic to utilize an enum, LayersSelector, which supports selecting no layers, specific layers, or all available layers. This refactor enhances code clarity and allows for more flexible layer management.
2024-11-10 19:10:16 +01:00
da0be47b14
Add logical device struct and surface handling for Vulkan
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Introduce the VkLogicalDevice struct and add surface creation logic in VkInstance. Also, import necessary extensions and refine Vulkan physical device and window handling. Included a dependency on 'anyhow' for error management.
2024-11-10 18:18:59 +01:00
4048937a6c
Refactor VK layer handling and add logging improvements
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Refactored VK layer handling by changing return type of `use_layers` to `Vec<CString>`, adjusting subsequent usage of layers. Implemented `Display` for `VkPhysicalDevice` for better logging. Enhanced application initialization with detailed window attributes. Transitioned to using `log::info` for consistent logging.
2024-11-10 11:27:45 +01:00
f52832e0e5
Refactor layer selection and logging in Vulkan utils
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Separated concerns for layer fetching, logging, and selection into distinct functions. This improves readability and maintainability, allowing each function to focus on a single responsibility.
2024-11-09 19:01:14 +01:00
e26f40ea74 Update
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-08 17:01:30 +01:00
7c072d60e2
Begin add use_layers [not work]
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-07 22:14:01 +01:00
56ad167b0f Add logs of physical devices
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-07 17:18:10 +01:00
06cc558baf Finish vk_instance
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Add vk_physical_device
2024-11-07 14:05:09 +01:00
f24a6b66bc
Add idea
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-06 22:14:23 +01:00
9223b89e4e
Add VkInstance
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-06 22:13:46 +01:00
433dc1afc8 Add ash and winit
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-06 16:47:54 +01:00
799205f02a first commit
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
2024-11-06 13:21:23 +01:00