aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/glsl/highlights.scm
blob: af2a049fb5acd8e65fca4abfa25db55954fca7b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
; inherits: c

[
  "in"
  "out"
  "inout"
  "uniform"
  "shared"
  "layout"
  "attribute"
  "varying"
  "buffer"
  "coherent"
  "readonly"
  "writeonly"
  "precision"
  "highp"
  "mediump"
  "lowp"
  "centroid"
  "sample"
  "patch"
  "smooth"
  "flat"
  "noperspective"
  "invariant"
  "precise"
] @keyword

"subroutine" @keyword.function

(extension_storage_class) @attribute

(
  (identifier) @variable.builtin
  (#match? @variable.builtin "^gl_")
)