Skip to content

Commit

Permalink
Apply recent changes from Vulkan Tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Jul 6, 2024
1 parent f3eee45 commit ae7f3bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions en/02_Development_environment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ The most important components you'll need for developing Vulkan applications on
Run these to confirm your machine supports Vulkan.
* `sudo apt install libvulkan-dev` or `sudo dnf install vulkan-loader-devel` : Installs Vulkan loader.
The loader looks up the functions in the driver at runtime, similarly to GLEW for OpenGL - if you're familiar with that.
* `sudo apt install vulkan-validationlayers-dev spirv-tools` or `sudo dnf install mesa-vulkan-devel vulkan-validation-layers-devel`: Installs the standard validation layers and required SPIR-V tools.
These are crucial when debugging Vulkan applications, and we'll discuss them in the upcoming chapter.
* `sudo apt install vulkan-validationlayers spirv-tools` or `sudo dnf install mesa-vulkan-devel vulkan-validation-layers-devel`: Installs the standard validation layers and required SPIR-V tools. These are crucial when debugging Vulkan applications, and we'll discuss them in the upcoming chapter.

On Arch Linux, you can run `sudo pacman -S vulkan-devel` to install all the required tools above.

Expand Down Expand Up @@ -233,7 +232,7 @@ or

[,bash]
----
sudo pacman -S glfw-wayland # glfw-x11 for X11 users
sudo pacman -S glfw
----

=== GLM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ viewportState.scissorCount = 1;
viewportState.pScissors = &scissor;
----

Independent of how you set them, it's is possible to use multiple viewports and scissor rectangles on some graphics cards, so the structure members reference an array of them.
Independent of how you set them, it's possible to use multiple viewports and scissor rectangles on some graphics cards, so the structure members reference an array of them.
Using multiple requires enabling a GPU feature (see logical device creation).

== Rasterizer
Expand Down

0 comments on commit ae7f3bc

Please sign in to comment.