add support for HLSL/FX

Add support for DirectX HLSL / FX files. The FX files are
just HLSL files with some additional syntax to set
render-states and define multiple shader stages in one file.

Samples are either written by me, or taken from Chromium.
This commit is contained in:
Erik Faye-Lund
2016-02-18 21:44:21 +00:00
parent 41713d7719
commit 6b001cf861
5 changed files with 302 additions and 0 deletions

View File

@@ -1323,6 +1323,16 @@ HCL:
ace_mode: ruby
tm_scope: source.ruby
HLSL:
type: programming
extensions:
- .fx
- .fxh
- .hlsl
- .hlsli
ace_mode: text
tm_scope: none
HTML:
type: markup
tm_scope: text.html.basic