Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <hans-kristian.arntzen@arm.com>2016-05-24 22:38:42 +0300
committerHans-Kristian Arntzen <hans-kristian.arntzen@arm.com>2016-05-30 22:31:29 +0300
commit1b5cef5f0e70f6e00f1052c1c0018cabdf586f10 (patch)
tree839261af9a83a1cc2fb76769a014314b1b8dcab4 /README.md
parent5ba6296a518594346c74f4da364cd5ad790883c5 (diff)
Add first C++ backend sample.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index d0580a5c..97433d04 100644
--- a/README.md
+++ b/README.md
@@ -111,6 +111,12 @@ glslangValidator -H -V -o test.spv shaders/comp/basic.comp
./spirv-cross --version 310 --es test.spv --output test.comp --force-temporary
```
+### Using shaders generated from C++ backend
+
+Please see `samples/cpp` where some GLSL shaders are compiled to SPIR-V, decompiled to C++ and run with test data.
+Reading through the samples should explain how to use the C++ interface.
+A simple Makefile is included to build all shaders in the directory.
+
## Contributing
Contributions to SPIRV-Cross are welcome. See Testing and Licensing sections for details.