| 1 |
|
| 2 |
|
| 3 |
[ |
| 4 |
"in" |
| 5 |
"out" |
| 6 |
"inout" |
| 7 |
"uniform" |
| 8 |
"shared" |
| 9 |
"layout" |
| 10 |
"attribute" |
| 11 |
"varying" |
| 12 |
"buffer" |
| 13 |
"coherent" |
| 14 |
"readonly" |
| 15 |
"writeonly" |
| 16 |
"precision" |
| 17 |
"highp" |
| 18 |
"mediump" |
| 19 |
"lowp" |
| 20 |
"centroid" |
| 21 |
"sample" |
| 22 |
"patch" |
| 23 |
"smooth" |
| 24 |
"flat" |
| 25 |
"noperspective" |
| 26 |
"invariant" |
| 27 |
"precise" |
| 28 |
"require" |
| 29 |
"enable" |
| 30 |
"warn" |
| 31 |
"disable" |
| 32 |
] @keyword |
| 33 |
|
| 34 |
"subroutine" @keyword.function |
| 35 |
|
| 36 |
(extension_storage_class) @attribute |
| 37 |
|
| 38 |
( |
| 39 |
(identifier) @variable.builtin |
| 40 |
(#match? @variable.builtin "^gl_") |
| 41 |
) |