diff options
Diffstat (limited to 'external/spirv-tools-generated/README.md')
| -rw-r--r-- | external/spirv-tools-generated/README.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/external/spirv-tools-generated/README.md b/external/spirv-tools-generated/README.md index 1583c14c8..b8ee25a0d 100644 --- a/external/spirv-tools-generated/README.md +++ b/external/spirv-tools-generated/README.md @@ -3,6 +3,13 @@ Slang SPIR-V Tools The spir-v tools are needed in the Slang project in order to be able to build glslang. We don't necessarily want/need to build all the spir-v tools - but we do need the files that are generated as part of this process. Those files are then stored in this folder, so that they can just be used without needing to be created as part of the Slang build process. +*glslang* depends on spirv-tools, and specifies an exact version to use, as +such, *spirv-tools* should only be updated along with *glslang*. + +*On Linux, you can run the [`external/bump-glslang.sh`](../bump-glslang.sh) script.* + +*On any platform, you can follow the below instructions after updating glslang:* + To build spirv-tools we need [cmake](https://cmake.org/download/). On windows we can use cmake with the gui interface. Inside the `external/spirv-tools` directory make a directory `build.vs` which is where we are going to generate all the files. @@ -29,4 +36,4 @@ Next run the cmake gui. Set the source path to be `external/spirv-tools` (in the Now go into to the `build.vs` directory and open `spirv-tools.sln` with Visual Studio and compile. This will generate many of the files needed, once regular C++/C compilation has started all of the files should have been created. Delete all the '.inc' and '.h' files in this directory. -Now copy the files with '.inc' and '.h' extensions from the build.vs directory and copy it into this directory.
\ No newline at end of file +Now copy the files with '.inc' and '.h' extensions from the build.vs directory and copy it into this directory. |
