Navigation Menu

Skip to content

Commit

Permalink
Add the HLSL-spirv cookbook. (#1618)
Browse files Browse the repository at this point in the history
Add a document to give examples of what HLSL code patterns will generate
valid Vulkan SPIR-V.
  • Loading branch information
s-perron authored and antiagainst committed Oct 22, 2018
1 parent ef9d3fd commit fe2d48b
Show file tree
Hide file tree
Showing 2 changed files with 980 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/SPIR-V.rst
Expand Up @@ -383,6 +383,10 @@ Specifically, we need to legalize the following HLSL source code patterns:
Legalization transformations will not run unless the above patterns are
encountered in the source code.

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

Optimization
~~~~~~~~~~~~

Expand Down

0 comments on commit fe2d48b

Please sign in to comment.