aboutsummaryrefslogtreecommitdiffstats
path: root/queries/glsl/highlights.scm
blob: dbf3ed07b378515506e2b560e7be55be4c27b586 (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
; 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"
] @type.qualifier

"subroutine" @keyword.function

(extension_storage_class) @keyword.storage

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