Skip to content

Commit

Permalink
Merge pull request #1 from Andreyogld3d/patch-1
Browse files Browse the repository at this point in the history
Added information about HLSL to what_is_spirv.md
  • Loading branch information
sfricke-samsung committed Nov 7, 2019
2 parents 9faf9ff + 549b006 commit 455bf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/what_is_spirv.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# What is SPIR-V

[SPIR-V](https://www.khronos.org/registry/spir-v/) is a binary intermediate representation for graphical-shader stages and compute kernels. With Vulkan, you can still write your shaders in a high level language such as GLSL, but a SPIR-V binary is needed when using [vkCreateShaderModule](https://www.khronos.org/registry/vulkan/specs/1.1/html/vkspec.html#vkCreateShaderModule). The Vulkan SDK has a very nice [white paper](https://www.khronos.org/registry/spir-v/papers/WhitePaper.pdf) about SPIR-V and its advantages, and a high-level description of the representation. There are also two great Khronos presentations from Vulkan DevDay 2016 [here](https://www.khronos.org/assets/uploads/developers/library/2016-vulkan-devday-uk/3-Intro-to-spir-v-shaders.pdf) and [here](https://www.khronos.org/assets/uploads/developers/library/2016-vulkan-devday-uk/4-Using-spir-v-with-spirv-cross.pdf)
[SPIR-V](https://www.khronos.org/registry/spir-v/) is a binary intermediate representation for graphical-shader stages and compute kernels. With Vulkan, you can still write your shaders in a high level language such as GLSL or HLSL, but a SPIR-V binary is needed when using [vkCreateShaderModule](https://www.khronos.org/registry/vulkan/specs/1.1/html/vkspec.html#vkCreateShaderModule). The Vulkan SDK has a very nice [white paper](https://www.khronos.org/registry/spir-v/papers/WhitePaper.pdf) about SPIR-V and its advantages, and a high-level description of the representation. There are also two great Khronos presentations from Vulkan DevDay 2016 [here](https://www.khronos.org/assets/uploads/developers/library/2016-vulkan-devday-uk/3-Intro-to-spir-v-shaders.pdf) and [here](https://www.khronos.org/assets/uploads/developers/library/2016-vulkan-devday-uk/4-Using-spir-v-with-spirv-cross.pdf)
([video of both](https://www.youtube.com/watch?v=XRpVwdduzgU)).

![what_is_spirv_overview.png](../images/what_is_spirv_overview.png)
Expand Down

0 comments on commit 455bf30

Please sign in to comment.