diff options
author | David Neto <dneto@google.com> | 2016-12-16 15:32:56 -0500 |
---|---|---|
committer | David Neto <dneto@google.com> | 2016-12-20 11:36:41 -0500 |
commit | f8cc397573bbd7bbcb488b9f107bdfa963ac7a4e (patch) | |
tree | 5bf7512115e7046b0f69f09df65b9d090174f940 /README.md | |
parent | 68c5f0436f1d4f1f137e608780190865d0b193ca (diff) |
Generate spvasm.vim
Generate a vim syntax file for SPIR-V assembly.
Copy the resulting spvasm.vim into your $HOME/.vim/syntax directory
to get syntax highlighting in Vim.
Also, suggest that the grammar file include information
about what opcodes can be used in OpSpecConstantOp.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -89,6 +89,13 @@ Currently supported optimizations: For the latest list with detailed documentation, please refer to [`include/spirv-tools/optimizer.hpp`](include/spirv-tools/optimizer.hpp). +### Extras + +* [Utility filters](#utility-filters) +* Build target `spirv-tools-vimsyntax` generates file `spvasm.vim`. + Copy that file into your `$HOME/.vim/syntax` directory to get SPIR-V assembly syntax + highlighting in Vim. This build target is not built by default. + ## Source code The SPIR-V Tools are maintained by members of the The Khronos Group Inc., @@ -332,6 +339,9 @@ tests. ## Future Work <a name="future"></a> +_See the [projects pages](https://github.com/KhronosGroup/SPIRV-Tools/projects) +for more information._ + ### Assembler and disassembler * The disassembler could emit helpful annotations in comments. For example: |