You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,19 @@ The Khronos Vulkan^®^ Tutorial is based on the "link:https://vulkan-tutorial.co
8
8
9
9
This repository hosts the contents of the link:https://docs.vulkan.org/tutorial/latest[Khronos Vulkan Tutorial]. The tutorial is part of the link:https://github.com/KhronosGroup/Vulkan-Site[Vulkan Documentation Project].
10
10
11
+
== Differences
12
+
13
+
Compared to the original tutorial, this version of the tutorial is teaching up-to-date concepts:
14
+
15
+
* Vulkan 1.4 as a baseline
16
+
* Dynamic rendering instead of render passes
17
+
* Timeline semaphores
18
+
* link:https://shader-slang.org/[Slang] as the primary shading language
19
+
* Modern C++ (20) with modules
20
+
* link:https://github.com/KhronosGroup/Vulkan-Hpp[Vulkan-Hpp] with link:https://en.wikipedia.org/wiki/Resource_acquisition_is_initialization[RAII]
21
+
22
+
It also contains Vulkan usage clarifications, improved synchronization and new content.
23
+
11
24
== Project Structure
12
25
13
26
The repository is organized into several important directories:
Copy file name to clipboardExpand all lines: attachments/03_physical_device_selection.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ class HelloTriangleApplication {
171
171
172
172
auto features = device.templategetFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVulkan13Features, vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT>();
Copy file name to clipboardExpand all lines: attachments/04_logical_device.cpp
+17-14Lines changed: 17 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
#include<assert.h>
1
2
#include<iostream>
2
3
#include<stdexcept>
3
4
#include<vector>
@@ -175,7 +176,7 @@ class HelloTriangleApplication {
175
176
176
177
auto features = device.templategetFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVulkan13Features, vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT>();
Copy file name to clipboardExpand all lines: attachments/05_window_surface.cpp
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -186,7 +186,7 @@ class HelloTriangleApplication {
186
186
187
187
auto features = device.templategetFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVulkan13Features, vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT>();
Copy file name to clipboardExpand all lines: attachments/06_swap_chain_creation.cpp
+19-17Lines changed: 19 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ class HelloTriangleApplication {
194
194
195
195
auto features = device.templategetFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVulkan13Features, vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT>();
Copy file name to clipboardExpand all lines: attachments/07_image_views.cpp
+19-17Lines changed: 19 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ class HelloTriangleApplication {
195
195
196
196
auto features = device.templategetFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVulkan13Features, vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT>();
0 commit comments