feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent c13e28f894
commit 2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions

View file

@ -0,0 +1 @@
; inherits: cpp

View file

@ -0,0 +1,35 @@
; inherits: cpp
[
"in"
"out"
"inout"
"uniform"
"shared"
"groupshared"
"discard"
"cbuffer"
"row_major"
"column_major"
"globallycoherent"
"centroid"
"noperspective"
"nointerpolation"
"sample"
"linear"
"snorm"
"unorm"
"point"
"line"
"triangleadj"
"lineadj"
"triangle"
] @type.qualifier
(
(identifier) @variable.builtin
(#lua-match? @variable.builtin "^SV_")
)
(hlsl_attribute) @attribute
(hlsl_attribute ["[" "]"] @attribute)

View file

@ -0,0 +1 @@
; inherits: cpp

View file

@ -0,0 +1,5 @@
((preproc_arg) @injection.content
(#set! injection.language "hlsl"))
((comment) @injection.content
(#set! injection.language "comment"))

View file

@ -0,0 +1 @@
; inherits: cpp