2022-06-15 01:15:25 +02:00
|
|
|
; inherits: cpp
|
2024-02-19 00:00:07 +09:00
|
|
|
|
2022-06-15 01:15:25 +02:00
|
|
|
[
|
|
|
|
|
"in"
|
|
|
|
|
"out"
|
|
|
|
|
"inout"
|
|
|
|
|
"uniform"
|
|
|
|
|
"shared"
|
|
|
|
|
"groupshared"
|
|
|
|
|
"discard"
|
|
|
|
|
"cbuffer"
|
|
|
|
|
"row_major"
|
|
|
|
|
"column_major"
|
2022-08-27 00:30:53 +02:00
|
|
|
"globallycoherent"
|
2022-08-27 00:44:14 +02:00
|
|
|
"centroid"
|
|
|
|
|
"noperspective"
|
|
|
|
|
"nointerpolation"
|
|
|
|
|
"sample"
|
|
|
|
|
"linear"
|
|
|
|
|
"snorm"
|
|
|
|
|
"unorm"
|
|
|
|
|
"point"
|
|
|
|
|
"line"
|
|
|
|
|
"triangleadj"
|
|
|
|
|
"lineadj"
|
|
|
|
|
"triangle"
|
2024-03-08 19:09:51 +09:00
|
|
|
] @keyword.modifier
|
2022-06-15 01:15:25 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
((identifier) @variable.builtin
|
|
|
|
|
(#lua-match? @variable.builtin "^SV_"))
|
2022-06-15 01:15:25 +02:00
|
|
|
|
|
|
|
|
(hlsl_attribute) @attribute
|
2024-01-06 15:05:50 +09:00
|
|
|
|
|
|
|
|
(hlsl_attribute
|
|
|
|
|
[
|
|
|
|
|
"["
|
|
|
|
|
"]"
|
|
|
|
|
] @attribute)
|