Skip to content

Commit

Permalink
Add file extensions for mesh, task, and ray tracing shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
euler0 committed Aug 29, 2021
1 parent 4cd4acf commit 09fa6e4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions GLSL.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ file_extensions:
- tese
- comp
- glsl
- mesh
- task
- rgen
- rint
- rahit
- rchit
- rmiss
- rcall
first_line_match: -[*]-( Mode:)? GLSL -[*]-
scope: source.glsl

Expand Down
8 changes: 8 additions & 0 deletions GLSL.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
<string>f.glsl</string>
<string>v.glsl</string>
<string>g.glsl</string>
<string>mesh</string>
<string>task</string>
<string>rgen</string>
<string>rint</string>
<string>rahit</string>
<string>rchit</string>
<string>rmiss</string>
<string>rcall</string>
</array>
<key>foldingStartMarker</key>
<string>/\*\*|\{\s*$</string>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Supported Extensions

vs, fs, gs, vsh, fsh, gsh, vshader, fshader, gshader, vert, frag, geom, tesc, tese, comp, glsl
vs, fs, gs, vsh, fsh, gsh, vshader, fshader, gshader, vert, frag, geom, tesc, tese, comp, glsl, .mesh .task, .rgen, .rint, .rahit, .rchit, rmiss, and rcall

## How to Install ##

Expand Down

0 comments on commit 09fa6e4

Please sign in to comment.