HLSL_LANG is an unknown keyword (not listed on syntax highlighting help page) and therefore useless.
There should be no space character between /C1 and the name for color group 1.
The space between /C2 and the name of the color group 2 should be converted to " and it looks like the words in color group 2 are functions.
Color group 3 has no name. What are these words? You should give color group 3 also a name.
Also the words are not perfect sorted which my SortLanguage
My macros TestForDuplicate and TestForInvalid found no errors. That's very good.
I already added the definitions for matching braces. To make this syntax highlighting language perfect it would be good to add also the definitions for auto-indent/unindent and for code folding if that is possible and useful for HLSL Shader files. Is there usage for function strings to find functions or other strings of interest and for being listed in the function list view?
After adding the name for color group 3 and maybe also the definitions
/Indent Strings =
/Unindent Strings =
/Open Fold Strings =
/Close Fold Strings =
and good working and correct defined function strings I recommend to send the wordfile to IDM by email for the wordfiles downloads page.
Please note: I have deleted with my macro SettingsDelAll all color and font style settings because public wordfiles should not contain these settings. You can use my macro SettingsCopyCur to copy the settings for you from your existing wordfile into the new version.
Edit: Mycekralid sent my version of the wordfile to IDM and therefore it can be downloaded now from the user-submitted wordfiles
page. Anybody interested HLSL Shader writter can improve it further like I suggested and send the further improved wordfile to IDM.