Vulkan-Tutorial
Vulkan-Tutorial copied to clipboard
Khronos version of the Vulkan Tutorial as parts of the Vulkan documentation project
A few things in the tutorial should be changed to adhere to best practices. E.g. the way how command buffers are reset (using the `VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT`) command pool flag will trigger...
This is a rewrite of the tutorial to use SLang and RAII. While it is complete and everything is working, this is a work in progress; PR is here to...
In the [Validation Layers section](https://docs.vulkan.org/tutorial/latest/03_Drawing_a_triangle/00_Setup/02_Validation_layers.html), after writing `checkValidationLayerSupport()` and passing the debug validation layers, if any, to `vkCreateInstance`, the tutorial comments that: > If the check was successful then `vkCreateInstance`...
From "an" to "a" 
Small feedback, on the 3rd paragraph in the '[Shader modules](https://docs.vulkan.org/tutorial/latest/03_Drawing_a_triangle/02_Graphics_pipeline_basics/01_Shader_modules.html#:~:text=fully%20standards%20compliant)' section, there is this phrase: This compiler is designed to verify that your shader code is fully **standards compliant** and...
By using vkconfig from the LunarG SDK one can skip in-app setup of validation layers. This should at least be mentioned as an option, esp. as vkconfig can be heavily...
I've witnessed people in the past having a hard time understanding the difference between the swap chain image index and the index you would use for your frames in flight....
I the [`Texture Mapping/Combined image sampler` chapter](https://github.com/KhronosGroup/Vulkan-Tutorial/blob/main/en/06_Texture_mapping/02_Combined_image_sampler.adoc) it doesn't state anywhere to change the fragment shader back to only containing `outColor = texture(texSampler, fragTexCoord);` in its main function. This is...
This PR makes the image variable on the swap chain view setup loop a reference. Not being a reference is not an error per se, but it's an unnecessary copy.
This PR adjusts code and text to use designated initializers for the pipeline color blend attachment state. Also does some minor cleanup with a few things not being part of...