This Pull Request introduces a new sample, "Hello Triangle", leveraging Vulkan 1.3 features and modern C++20 language enhancements. The sample aims to provide developers with an updated and clean starting point for learning and experimenting with the latest Vulkan API functionalities.
1: Sample is using vertex buffer to load vertices compared to hardcoded in the vertex shader in hello_triangle 1.0.
2: Sample is using dynamic rendering so frame buffers and Render passes removed.
3: Used Synchronization2 in image layout transition.
3: Updated the code to use VK_DEBUG_UTILS (new) instead VK_DEBUG_REPORT(old).
4: Update the code to use Dynamic pipeline status.
5: Removed unused parameters from functions.
6: Used C++20 initializers.
The sample is built and tested on Windows and Linux OS.
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making:
[x] My changes build on Windows and Linux.
Sample Checklist
[x] I have tested the sample on at least one compliant Vulkan implementation
[x] For new samples, I have added a paragraph with a summary to the appropriate chapter in the readme of the folder that the sample belongs to e.g. api samples readme
[x] For new samples, I have added a tutorial README.md file to guide users through what they need to know to implement code using this feature. For example, see conditional_rendering
[x] For new samples, I have added a link to the Antora navigation so that the sample will be listed at the Vulkan documentation site
This Pull Request introduces a new sample, "Hello Triangle", leveraging Vulkan 1.3 features and modern C++20 language enhancements. The sample aims to provide developers with an updated and clean starting point for learning and experimenting with the latest Vulkan API functionalities.
1: Sample is using vertex buffer to load vertices compared to hardcoded in the vertex shader in hello_triangle 1.0. 2: Sample is using dynamic rendering so frame buffers and Render passes removed. 3: Used Synchronization2 in image layout transition. 3: Updated the code to use VK_DEBUG_UTILS (new) instead VK_DEBUG_REPORT(old). 4: Update the code to use Dynamic pipeline status. 5: Removed unused parameters from functions. 6: Used C++20 initializers.
The sample is built and tested on Windows and Linux OS.
General Checklist:
Please ensure the following points are checked:
Sample Checklist