2021-09-11 17:26:06 +02:00
|
|
|
; inherits: c
|
2024-02-19 00:00:07 +09:00
|
|
|
|
2021-09-11 17:26:06 +02:00
|
|
|
[
|
|
|
|
|
"in"
|
|
|
|
|
"out"
|
|
|
|
|
"inout"
|
|
|
|
|
"uniform"
|
|
|
|
|
"shared"
|
|
|
|
|
"layout"
|
|
|
|
|
"attribute"
|
|
|
|
|
"varying"
|
|
|
|
|
"buffer"
|
|
|
|
|
"coherent"
|
|
|
|
|
"readonly"
|
|
|
|
|
"writeonly"
|
|
|
|
|
"precision"
|
|
|
|
|
"highp"
|
|
|
|
|
"mediump"
|
|
|
|
|
"lowp"
|
|
|
|
|
"centroid"
|
|
|
|
|
"sample"
|
|
|
|
|
"patch"
|
|
|
|
|
"smooth"
|
|
|
|
|
"flat"
|
|
|
|
|
"noperspective"
|
|
|
|
|
"invariant"
|
|
|
|
|
"precise"
|
2024-03-08 19:09:51 +09:00
|
|
|
] @keyword.modifier
|
2021-09-11 17:26:06 +02:00
|
|
|
|
|
|
|
|
"subroutine" @keyword.function
|
|
|
|
|
|
2024-03-16 14:23:57 +09:00
|
|
|
(extension_storage_class) @keyword.modifier
|
2021-09-11 17:26:06 +02:00
|
|
|
|
2023-08-23 14:09:30 +03:00
|
|
|
((identifier) @variable.builtin
|
2024-01-06 15:05:50 +09:00
|
|
|
(#lua-match? @variable.builtin "^gl_"))
|