diff options
author | dan sinclair <dj2@everburning.com> | 2019-04-17 08:15:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 08:15:35 -0400 |
commit | 5b339a50227541ae7f52aaaf911132637e3f46f9 (patch) | |
tree | 9a5d3e74e25f6a93fcd3f2cf27f60b00b06c9d3a /tools | |
parent | 3ba84017a953c88c9951f8b63a2a506ca6fd0765 (diff) | |
download | amber-5b339a50227541ae7f52aaaf911132637e3f46f9.tar.gz |
Scripting document cleanups (#478)
This CL does some cleanups of the markup in the scripting documentation.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/amber-syntax.vim | 4 | ||||
-rw-r--r-- | tools/amber.sublime-syntax | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/amber-syntax.vim b/tools/amber-syntax.vim index b3caa38..0d47c6c 100644 --- a/tools/amber-syntax.vim +++ b/tools/amber-syntax.vim @@ -41,7 +41,7 @@ syn keyword amberBlockCmd REPEAT COPY DERIVE_PIPELINE FROM syn keyword amberComparator EQ NE LT LE GT GE EQ_RGB EQ_RGBA EQ_BUFFER syn keyword amberKeyword compute vertex geometry fragment graphics -syn keyword amberKeyword tessellation_evaulation tessellation_control +syn keyword amberKeyword tessellation_evaulation tessellation_control multi syn keyword amberFormat GLSL HLSL SPIRV-ASM SPIRV-HEX OPENCL-C @@ -50,7 +50,7 @@ syn keyword amberTopology line_strip line_strip_with_adjacency triangle_list syn keyword amberTopology triangle_list_with_adjacench triangle_strip syn keyword amberTopology triangle_strip_with_adjacency triangle_fan patch_list -syn keyword amberBufferType uniform storage push_constant +syn keyword amberBufferType uniform storage push_constant color depth_stencil let b:current_syntax = "amber" hi def link amberTodo Todo diff --git a/tools/amber.sublime-syntax b/tools/amber.sublime-syntax index e7f518d..92ac566 100644 --- a/tools/amber.sublime-syntax +++ b/tools/amber.sublime-syntax @@ -34,11 +34,11 @@ contexts: - match : '\b(COPY|TOLERANCE|REPEAT)\b' scope: keyword.control.amber - - match: '\b(vertex|fragment|compute|geometry|tessellation_evaluation|tessellation_control)\b' + - match: '\b(vertex|fragment|compute|geometry|tessellation_evaluation|tessellation_control|multi)\b' scope: constant.character.escape.amber - match: '\b(framebuffer|graphics)\b' scope: constant.character.escape.amber - - match: '\b(uniform|storage|push_constant)\b' + - match: '\b(uniform|storage|push_constant|color|depth_stencil)\b' scope: constant.character.escape.amber - match: '\b(EQ|NE|LT|LE|GT|GE|EQ_RGB|EQ_RGBA|EQ_BUFFER)\b' scope: constant.character.esape.amber |