Skip to content

Commit 732893b

Browse files
committed
Standardize spelling of Slang
Offical spelling is "Slang"
1 parent bc4b5a7 commit 732893b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

en/03_Drawing_a_triangle/02_Graphics_pipeline_basics/01_Shader_modules.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Unlike earlier APIs, shader code in Vulkan has to be specified in a bytecode
66
format as opposed to human-readable syntax like
77
https://en.wikipedia.org/wiki/OpenGL_Shading_Language[GLSL]
8-
https://shader-slang.org/slang/user-guide/[SLANG], and
8+
https://shader-slang.org/slang/user-guide/[Slang], and
99
https://en.wikipedia.org/wiki/High-Level_Shading_Language[HLSL].
1010
This bytecode format is called https://www.khronos.org/spir[SPIR-V] and is designed
1111
to be used with Vulkan (a Khronos API). It is a format that

en/11_Compute_Shader.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ shaderStorageBuffers.emplace_back(std::move(shaderStorageBufferTemp));
119119
shaderStorageBuffersMemory.emplace_back(std::move(shaderStorageBufferTempMemory));
120120
----
121121

122-
The SLang shader declaration for accessing such a buffer looks like this:
122+
The Slang shader declaration for accessing such a buffer looks like this:
123123

124124
[,slang]
125125
----
@@ -172,7 +172,7 @@ textureImage = std::make_unique<vk::raii::SwapchainKHR>( *device, swapChainCreat
172172

173173
The two flags `vk::ImageUsageFlagBits::eSampled` and `vk::ImageUsageFlagBits::eStorage` set with `imageInfo.usage` tell the implementation that we want to use this image for two different scenarios: as an image sampled in the fragment shader and as a storage image in the computer shader;
174174

175-
The SLang shader declaration for storage image looks similar to sampled images
175+
The Slang shader declaration for storage image looks similar to sampled images
176176
used, e.g.,
177177
in the fragment shader:
178178

0 commit comments

Comments
 (0)