Added Vulkan 1.3 version of the basic triangle samples

Uses dynamic rendering and sync2 to simplify things
This commit is contained in:
Sascha Willems 2024-09-14 16:59:51 +02:00
parent 5144cb8a99
commit a5ace0608b
3 changed files with 998 additions and 1 deletions

View file

@ -97,9 +97,12 @@ Synchronization in the master branch currently isn't optimal und uses ```vkDevic
### Basics
#### [First triangle](examples/triangle/)
#### [Basic triangle](examples/triangle/)
Basic and verbose example for getting a colored triangle rendered to the screen using Vulkan. This is meant as a starting point for learning Vulkan from the ground up. A huge part of the code is boilerplate that is abstracted away in later examples.
#### [Basic triangle using Vulkan 1.3](examples/trianglevulkan13//)
Vulkan 1.3 version of the basic and verbose example for getting a colored triangle rendered to the screen. This makes use of features like dynamic rendering simplifying api usage.
#### [Pipelines](examples/pipelines/)
Using pipeline state objects (pso) that bake state information (rasterization states, culling modes, etc.) along with the shaders into a single object, making it easy for an implementation to optimize usage (compared to OpenGL's dynamic state machine). Also demonstrates the use of pipeline derivatives.