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

Skip to content

Commit dbe5f41

Browse files
committed
Updated links to chunked Vulkan 1.2 spec
1 parent 0018692 commit dbe5f41

12 files changed

Lines changed: 14 additions & 14 deletions

File tree

en/03_Drawing_a_triangle/00_Setup/02_Validation_layers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Similarly the `messageType` field lets you filter which types of messages your c
298298

299299
Finally, the `pfnUserCallback` field specifies the pointer to the callback function. You can optionally pass a pointer to the `pUserData` field which will be passed along to the callback function via the `pUserData` parameter. You could use this to pass a pointer to the `HelloTriangleApplication` class, for example.
300300

301-
Note that there are many more ways to configure validation layer messages and debug callbacks, but this is a good setup to get started with for this tutorial. See the [extension specification](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VK_EXT_debug_utils) for more info about the possibilities.
301+
Note that there are many more ways to configure validation layer messages and debug callbacks, but this is a good setup to get started with for this tutorial. See the [extension specification](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap50.html#VK_EXT_debug_utils) for more info about the possibilities.
302302

303303
This struct should be passed to the `vkCreateDebugUtilsMessengerEXT` function to
304304
create the `VkDebugUtilsMessengerEXT` object. Unfortunately, because this

en/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ there are Vulkan devices in the system that lack this ability, for example
100100
because they only support compute operations. We will come back to this
101101
extension in the swap chain chapter.
102102

103-
Previous implementations of Vulkan made a distinction between instance and device specific validation layers, but this is [no longer the case](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#extendingvulkan-layers-devicelayerdeprecation). That means that the `enabledLayerCount` and `ppEnabledLayerNames` fields of `VkDeviceCreateInfo` are ignored by up-to-date implementations. However, it is still a good idea to set them anyway to be compatible with older implementations:
103+
Previous implementations of Vulkan made a distinction between instance and device specific validation layers, but this is [no longer the case](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap40.html#extendingvulkan-layers-devicelayerdeprecation). That means that the `enabledLayerCount` and `ppEnabledLayerNames` fields of `VkDeviceCreateInfo` are ignored by up-to-date implementations. However, it is still a good idea to set them anyway to be compatible with older implementations:
104104

105105
```c++
106106
createInfo.enabledExtensionCount = 0;

en/03_Drawing_a_triangle/02_Graphics_pipeline_basics/04_Conclusion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ And finally we have the reference to the render pass and the index of the sub
5454
pass where this graphics pipeline will be used. It is also possible to use other
5555
render passes with this pipeline instead of this specific instance, but they
5656
have to be *compatible* with `renderPass`. The requirements for compatibility
57-
are described [here](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#renderpass-compatibility),
57+
are described [here](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap8.html#renderpass-compatibility),
5858
but we won't be using that feature in this tutorial.
5959

6060
```c++

en/04_Vertex_buffers/01_Vertex_buffer_creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ matches the contents of the allocated memory. Do keep in mind that this may lead
290290
to slightly worse performance than explicit flushing, but we'll see why that
291291
doesn't matter in the next chapter.
292292

293-
Flushing memory ranges or using a coherent memory heap means that the driver will be aware of our writes to the buffer, but it doesn't mean that they are actually visible on the GPU yet. The transfer of data to the GPU is an operation that happens in the background and the specification simply [tells us](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#synchronization-submission-host-writes) that it is guaranteed to be complete as of the next call to `vkQueueSubmit`.
293+
Flushing memory ranges or using a coherent memory heap means that the driver will be aware of our writes to the buffer, but it doesn't mean that they are actually visible on the GPU yet. The transfer of data to the GPU is an operation that happens in the background and the specification simply [tells us](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap7.html#synchronization-submission-host-writes) that it is guaranteed to be complete as of the next call to `vkQueueSubmit`.
294294

295295
## Binding the vertex buffer
296296

en/05_Uniform_buffers/01_Descriptor_pool_and_sets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Vulkan expects the data in your structure to be aligned in memory in a specific
319319
* A nested structure must be aligned by the base alignment of its members rounded up to a multiple of 16.
320320
* A `mat4` matrix must have the same alignment as a `vec4`.
321321

322-
You can find the full list of alignment requirements in [the specification](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/chap14.html#interfaces-resources-layout).
322+
You can find the full list of alignment requirements in [the specification](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap7.html#synchronization-pipeline-stages).
323323

324324
Our original shader with just three `mat4` fields already met the alignment requirements. As each `mat4` is 4 x 4 x 4 = 64 bytes in size, `model` has an offset of `0`, `view` has an offset of 64 and `proj` has an offset of 128. All of these are multiples of 16 and that's why it worked fine.
325325

en/06_Texture_mapping/00_Images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ operations occur that should happen before the barrier. The second parameter
534534
specifies the pipeline stage in which operations will wait on the barrier. The
535535
pipeline stages that you are allowed to specify before and after the barrier
536536
depend on how you use the resource before and after the barrier. The allowed
537-
values are listed in [this table](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#synchronization-access-types-supported)
537+
values are listed in [this table](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap7.html#synchronization-access-types)
538538
of the specification. For example, if you're going to read from a uniform after
539539
the barrier, you would specify a usage of `VK_ACCESS_UNIFORM_READ_BIT` and the
540540
earliest shader that will read from the uniform as pipeline stage, for example
@@ -700,7 +700,7 @@ may specify an empty access mask and the earliest possible pipeline stage
700700
`VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT` for the pre-barrier operations. It should be
701701
noted that `VK_PIPELINE_STAGE_TRANSFER_BIT` is not a *real* stage within the
702702
graphics and compute pipelines. It is more of a pseudo-stage where transfers
703-
happen. See [the documentation](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkPipelineStageFlagBits.html)
703+
happen. See [the documentation](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap7.html#synchronization-pipeline-stages)
704704
for more information and other examples of pseudo-stages.
705705

706706
The image will be written in the same pipeline stage and subsequently read by

en/10_Multisampling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ The difference is more noticable when looking up close at one of the edges:
242242

243243
## Quality improvements
244244

245-
There are certain limitations of our current MSAA implementation which may impact the quality of the output image in more detailed scenes. For example, we're currently not solving potential problems caused by shader aliasing, i.e. MSAA only smoothens out the edges of geometry but not the interior filling. This may lead to a situation when you get a smooth polygon rendered on screen but the applied texture will still look aliased if it contains high contrasting colors. One way to approach this problem is to enable [Sample Shading](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#primsrast-sampleshading) which will improve the image quality even further, though at an additional performance cost:
245+
There are certain limitations of our current MSAA implementation which may impact the quality of the output image in more detailed scenes. For example, we're currently not solving potential problems caused by shader aliasing, i.e. MSAA only smoothens out the edges of geometry but not the interior filling. This may lead to a situation when you get a smooth polygon rendered on screen but the applied texture will still look aliased if it contains high contrasting colors. One way to approach this problem is to enable [Sample Shading](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap27.html#primsrast-sampleshading) which will improve the image quality even further, though at an additional performance cost:
246246

247247
```c++
248248

fr/03_Dessiner_un_triangle/00_Mise_en_place/02_Validation_layers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ fait partie des paramètres de la fonction de rappel.
294294

295295
Notez qu'il existe de nombreuses autres manières de configurer des messagers auprès des validation layers, mais nous
296296
avons ici une bonne base pour ce tutoriel. Référez-vous à la
297-
[spécification de l'extension](www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VK_EXT_debug_utils)
297+
[spécification de l'extension](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap50.html#VK_EXT_debug_utils)
298298
pour plus d'informations sur ces possibilités.
299299

300300
Cette structure doit maintenant être passée à la fonction `vkCreateDebugUtilsMessengerEXT` afin de créer l'objet

fr/03_Dessiner_un_triangle/02_Pipeline_graphique_basique/04_Conclusion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pipelineInfo.layout = pipelineLayout;
4343
Finalement nous devons fournir les références à la render pass et aux indices des subpasses. Il est aussi possible
4444
d'utiliser d'autres render passes avec cette pipeline mais elles doivent être compatibles avec `renderPass`. La
4545
signification de compatible est donnée
46-
[ici](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#renderpass-compatibility), mais nous
46+
[ici](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap8.html#renderpass-compatibility), mais nous
4747
n'utiliserons pas cette possibilité dans ce tutoriel.
4848

4949
```c++

fr/05_Uniform_buffers/01_Descriptor_pool_et_sets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Vulkan s'attend à un certain alignement des données en mémoire pour chaque ty
295295
* Une `mat4` doit avoir le même alignement qu'un `vec4`
296296

297297
Les alignemenents imposés peuvent être trouvés dans
298-
[la spécification](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/chap14.html#interfaces-resources-layout)
298+
[la spécification](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap15.html#interfaces-resources-layout)
299299

300300
Notre shader original et ses trois `mat4` était bien aligné. `model` a un décalage de 0, `view` de 64 et `proj` de 128,
301301
ce qui sont des multiples de 16.

0 commit comments

Comments
 (0)