Added dev corner to README
This commit is contained in:
parent
a8cb724917
commit
dfa9825e8b
2 changed files with 15 additions and 0 deletions
13
README.md
13
README.md
|
|
@ -9,3 +9,16 @@ equivelents are required.
|
||||||
sudo dnf install vulkan-tools vulkan-loader-devel vulkan-validation-layers-devel
|
sudo dnf install vulkan-tools vulkan-loader-devel vulkan-validation-layers-devel
|
||||||
glfw-devel glm-devel glslc
|
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
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ void YaveVulkanInstance::createInstance() {
|
||||||
createInfo.enabledExtensionCount = glfwExtensionCount;
|
createInfo.enabledExtensionCount = glfwExtensionCount;
|
||||||
createInfo.ppEnabledExtensionNames = glfwExtensions;
|
createInfo.ppEnabledExtensionNames = glfwExtensions;
|
||||||
|
|
||||||
|
createInfo.enabledLayerCount = 0;
|
||||||
|
|
||||||
checkLayersValidSuppport(createInfo);
|
checkLayersValidSuppport(createInfo);
|
||||||
|
|
||||||
if (vkCreateInstance(&createInfo, nullptr, &instance) != VK_SUCCESS) {
|
if (vkCreateInstance(&createInfo, nullptr, &instance) != VK_SUCCESS) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue