From 09fa6e4c7d68c7fe86102de28ff5e3e9ac44f89a Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Mon, 30 Aug 2021 02:36:22 +0900 Subject: [PATCH] Add file extensions for mesh, task, and ray tracing shaders --- GLSL.sublime-syntax | 8 ++++++++ GLSL.tmLanguage | 8 ++++++++ README.md | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/GLSL.sublime-syntax b/GLSL.sublime-syntax index e247b7f..c01f686 100644 --- a/GLSL.sublime-syntax +++ b/GLSL.sublime-syntax @@ -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 diff --git a/GLSL.tmLanguage b/GLSL.tmLanguage index 425ac3f..96f1adb 100644 --- a/GLSL.tmLanguage +++ b/GLSL.tmLanguage @@ -23,6 +23,14 @@ f.glsl v.glsl g.glsl + mesh + task + rgen + rint + rahit + rchit + rmiss + rcall foldingStartMarker /\*\*|\{\s*$ diff --git a/README.md b/README.md index 22cb3e5..af42fa7 100644 --- a/README.md +++ b/README.md @@ -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 ##