Skip to content

Commit

Permalink
Merge pull request #16 from Snektron/master
Browse files Browse the repository at this point in the history
Add missing volatile/restrict keywords
  • Loading branch information
euler0 committed Apr 25, 2019
2 parents 0b60caf + 1391cbe commit 4cd4acf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion GLSL.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ variables:
shared |
coherent |
readonly |
writeonly
writeonly |
volatile |
restrict
)\b
reserved_keyword_for_future_use: |
Expand Down
2 changes: 1 addition & 1 deletion GLSL.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</dict>
<dict>
<key>match</key>
<string>\b(layout|attribute|centroid|sampler|patch|const|flat|in|inout|invariant|noperspective|out|smooth|uniform|varying|buffer|shared|coherent|readonly|writeonly)\b</string>
<string>\b(layout|attribute|centroid|sampler|patch|const|flat|in|inout|invariant|noperspective|out|smooth|uniform|varying|buffer|shared|coherent|readonly|writeonly|volatile|restrict)\b</string>
<key>name</key>
<string>storage.modifier.glsl</string>
</dict>
Expand Down

0 comments on commit 4cd4acf

Please sign in to comment.