Added dev corner to README

This commit is contained in:
Warwick 2023-11-29 12:32:12 +00:00
parent a8cb724917
commit dfa9825e8b
2 changed files with 15 additions and 0 deletions

View file

@ -9,3 +9,16 @@ equivelents are required.
sudo dnf install vulkan-tools vulkan-loader-devel vulkan-validation-layers-devel
glfw-devel glm-devel glslc
'''
# Dev corner
## Rules of development
- Use RAII as much as physically possible.
- Try to keep the game engine space as separate from the application space as possible.
## TODO: road to 0.0.1
- [X] Create a management class for the GLFW window
- [X] Create and validate vulkan instance.
- [ ] Create a debug messaging system.
- [ ] Manage Physical Devices
- [ ] Manage logical Devices if necessary
- [ ] Create Vulkan pipeline
- [ ] Draw triangle

View file

@ -27,6 +27,8 @@ void YaveVulkanInstance::createInstance() {
createInfo.enabledExtensionCount = glfwExtensionCount;
createInfo.ppEnabledExtensionNames = glfwExtensions;
createInfo.enabledLayerCount = 0;
checkLayersValidSuppport(createInfo);
if (vkCreateInstance(&createInfo, nullptr, &instance) != VK_SUCCESS) {