Skip to content

Commit fe2d48b

Browse files
s-perronantiagainst
authored andcommitted
Add the HLSL-spirv cookbook. (#1618)
Add a document to give examples of what HLSL code patterns will generate valid Vulkan SPIR-V.
1 parent ef9d3fd commit fe2d48b

File tree

2 files changed

+980
-0
lines changed

2 files changed

+980
-0
lines changed

docs/SPIR-V.rst

+4
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ Specifically, we need to legalize the following HLSL source code patterns:
383383
Legalization transformations will not run unless the above patterns are
384384
encountered in the source code.
385385

386+
For more details, please see the `SPIR-V cookbook <https://github.com/Microsoft/DirectXShaderCompiler/tree/master/docs/SPIRV-Cookbook.rst>`_,
387+
which contains examples of what HLSL code patterns will be accepted and
388+
generate valid SPIR-V for Vulkan.
389+
386390
Optimization
387391
~~~~~~~~~~~~
388392

0 commit comments

Comments
 (0)