Skip to content

Commit 1244d6a

Browse files
committed
Use warning
1 parent 50bb8ec commit 1244d6a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

guide/src/shader_objects/drawing_triangle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void App::draw(vk::CommandBuffer const command_buffer) const {
6464

6565
![White Triangle](./white_triangle.png)
6666

67-
Updating our shaders to use interpolated RGB on each vertex:
67+
Updating the shaders to use interpolated RGB on each vertex:
6868

6969
```glsl
7070
// shader.vert

guide/src/shader_objects/shader_program.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ m_instance = vk::createInstanceUnique(instance_ci);
3131
// ...
3232
```
3333

34-
> This layer _is not_ part of standard Vulkan driver installs, you must package the layer with the application for it to run on environments without Vulkan SDK / Vulkan Configurator. Read more [here](https://docs.vulkan.org/samples/latest/samples/extensions/shader_object/README.html#_emulation_layer).
34+
<div class="warning">
35+
This layer <em>is not</em> part of standard Vulkan driver installs, you must package the layer with the application for it to run on environments without Vulkan SDK / Vulkan Configurator. Read more <a href="https://docs.vulkan.org/samples/latest/samples/extensions/shader_object/README.html#_emulation_layer">here</a>.
36+
</div>
3537

3638
## `class ShaderObject`
3739

0 commit comments

Comments
 (0)