Skip to content

Commit 09fa6e4

Browse files
committed
Add file extensions for mesh, task, and ray tracing shaders
1 parent 4cd4acf commit 09fa6e4

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

GLSL.sublime-syntax

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ file_extensions:
2020
- tese
2121
- comp
2222
- glsl
23+
- mesh
24+
- task
25+
- rgen
26+
- rint
27+
- rahit
28+
- rchit
29+
- rmiss
30+
- rcall
2331
first_line_match: -[*]-( Mode:)? GLSL -[*]-
2432
scope: source.glsl
2533

GLSL.tmLanguage

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323
<string>f.glsl</string>
2424
<string>v.glsl</string>
2525
<string>g.glsl</string>
26+
<string>mesh</string>
27+
<string>task</string>
28+
<string>rgen</string>
29+
<string>rint</string>
30+
<string>rahit</string>
31+
<string>rchit</string>
32+
<string>rmiss</string>
33+
<string>rcall</string>
2634
</array>
2735
<key>foldingStartMarker</key>
2836
<string>/\*\*|\{\s*$</string>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Supported Extensions
44

5-
vs, fs, gs, vsh, fsh, gsh, vshader, fshader, gshader, vert, frag, geom, tesc, tese, comp, glsl
5+
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
66

77
## How to Install ##
88

0 commit comments

Comments
 (0)