Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1fe4a6

Browse files
committed
Add a FAQ page for common problems and their solutions
1 parent 90e3980 commit c1fe4a6

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

00_Introduction.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,9 @@ in mind that once you have that boring looking triangle, drawing fully textured
112112
3D models does not take that much extra work, and each step beyond that point is
113113
much more rewarding.
114114

115+
If you encounter any problems while following the tutorial, then first check the
116+
FAQ to see if your problem and its solution is already listed there. If you are
117+
still stuck after that, then feel free to ask for help in the comment section of
118+
the closest related chapter.
119+
115120
Ready to dive into the future of high performance graphics APIs? [Let's go!](!Overview)

03_Drawing_a_triangle/00_Setup/02_Validation_layers.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,6 @@ window. You'll see that the following message is printed to the command prompt:
335335

336336
![](/images/validation_layer_test.png)
337337

338-
*If this message is not printed when the program exits, then there may be a
339-
problem with your Vulkan SDK installation. See [this page](https://vulkan.lunarg.com/doc/sdk/1.0.61.0/windows/getting_started.html) for more information. You can prevent the command prompt from
340-
immediately closing in Visual Studio by running your program with Ctrl-F5 instead
341-
of just F5.*
342-
343338
Oops, it has already spotted a bug in our program! The
344339
`VkDebugReportCallbackEXT` object needs to be cleaned up with a call to
345340
`vkDestroyDebugReportCallbackEXT`. Similarly to `vkCreateDebugReportCallbackEXT`

99_FAQ.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This page lists solutions to common problems that you may encounter while
2+
developing Vulkan applications.
3+
4+
* **I get an access violation error in the core validation layer**: Make sure
5+
that the RivaTuner Statistics Server is not running, because it has some
6+
compatibility problems with Vulkan.
7+
8+
* **I don't see any messages from the validation layers**: First make sure that
9+
the validation layers get a chance to print errors by keeping the terminal open
10+
after your program exits. You can do this from Visual Studio by running your
11+
program with Ctrl-F5 instead of F5, and on Linux by executing your program from
12+
a terminal window. If there are still no messages and you are sure that
13+
validation layers are turned on, then you should ensure that your Vulkan SDK is
14+
correctly installed by following [these instructions](https://vulkan.lunarg.com/doc/sdk/1.0.61.0/windows/getting_started.html).

0 commit comments

Comments
 (0)