OLD | NEW |
(Empty) | |
| 1 attribute |
| 2 const |
| 3 uniform |
| 4 varying |
| 5 buffer |
| 6 shared |
| 7 coherent |
| 8 volatile |
| 9 restrict |
| 10 readonly |
| 11 writeonly |
| 12 atomic_uint |
| 13 layout |
| 14 centroid |
| 15 flat |
| 16 smooth |
| 17 noperspective |
| 18 patch |
| 19 sample |
| 20 break |
| 21 continue |
| 22 do |
| 23 for |
| 24 while |
| 25 switch |
| 26 case |
| 27 default |
| 28 if |
| 29 else |
| 30 subroutine |
| 31 in |
| 32 out |
| 33 inout |
| 34 float |
| 35 double |
| 36 int |
| 37 void |
| 38 bool |
| 39 true |
| 40 false |
| 41 invariant |
| 42 precise |
| 43 discard |
| 44 return |
| 45 mat2 mat3 mat4 |
| 46 mat2x2 mat2x3 mat2x4 |
| 47 mat3x2 mat3x3 mat3x4 |
| 48 mat4x2 mat4x3 mat4x4 |
| 49 dmat2 dmat3 dmat4 |
| 50 dmat2x2 dmat2x3 dmat2x4 |
| 51 dmat3x2 dmat3x3 dmat3x4 |
| 52 dmat4x2 dmat4x3 dmat4x4 |
| 53 vec2 vec3 vec4 |
| 54 ivec2 ivec3 ivec4 |
| 55 bvec2 bvec3 bvec4 |
| 56 dvec2 dvec3 dvec4 |
| 57 uvec2 uvec3 uvec4 |
| 58 uint |
| 59 lowp |
| 60 mediump |
| 61 highp |
| 62 precision |
| 63 sampler1D sampler2D sampler3D |
| 64 isampler1D isampler2D isampler3D |
| 65 usampler1D usampler2D usampler3D |
| 66 samplerCube isamplerCube usamplerCube |
| 67 sampler1DShadow sampler2DShadow |
| 68 samplerCubeShadow |
| 69 sampler1DArray sampler2DArray |
| 70 isampler1DArray isampler2DArray |
| 71 usampler1DArray usampler2DArray |
| 72 sampler1DArrayShadow sampler2DArrayShadow |
| 73 sampler2DRect isampler2DRect usampler2DRect |
| 74 sampler2DRectShadow |
| 75 samplerBuffer isamplerBuffer usamplerBuffer |
| 76 sampler2DMS isampler2DMS usampler2DMS |
| 77 sampler2DMSArray isampler2DMSArray usampler2DMSArray |
| 78 samplerCubeArray isamplerCubeArray usamplerCubeArray |
| 79 samplerCubeArrayShadow |
| 80 image1D image2D image3D |
| 81 iimage1D iimage2D iimage3D |
| 82 uimage1D uimage2D uimage3D |
| 83 image2DRect iimage2DRect uimage2DRect |
| 84 imageCube iimageCube uimageCube |
| 85 imageBuffer iimageBuffer uimageBuffer |
| 86 image1DArray image2DArray |
| 87 iimage1DArray iimage2DArray |
| 88 uimage1DArray uimage2DArray |
| 89 imageCubeArray iimageCubeArray uimageCubeArray |
| 90 image2DMS iimage2DMS uimage2DMS |
| 91 image2DMSArray iimage2DMSArray uimage2DMSArray |
| 92 struct |
| 93 common |
| 94 partition |
| 95 active |
| 96 asm |
| 97 class; |
| 98 union |
| 99 enum |
| 100 typedef |
| 101 template |
| 102 this |
| 103 resource |
| 104 goto |
| 105 inline |
| 106 noinline |
| 107 public |
| 108 static |
| 109 extern |
| 110 external |
| 111 interface; |
| 112 long |
| 113 short |
| 114 half |
| 115 fixed |
| 116 unsigned |
| 117 superp |
| 118 input |
| 119 output |
| 120 hvec2 hvec3 hvec4 |
| 121 fvec2 fvec3 fvec4 |
| 122 sampler3DRect |
| 123 filter |
| 124 sizeof |
| 125 cast |
| 126 namespace |
| 127 using |
| 128 |
| 129 ---------------------------------------------------- |
| 130 |
| 131 [ |
| 132 ["keyword", "attribute"], |
| 133 ["keyword", "const"], |
| 134 ["keyword", "uniform"], |
| 135 ["keyword", "varying"], |
| 136 ["keyword", "buffer"], |
| 137 ["keyword", "shared"], |
| 138 ["keyword", "coherent"], |
| 139 ["keyword", "volatile"], |
| 140 ["keyword", "restrict"], |
| 141 ["keyword", "readonly"], |
| 142 ["keyword", "writeonly"], |
| 143 ["keyword", "atomic_uint"], |
| 144 ["keyword", "layout"], |
| 145 ["keyword", "centroid"], |
| 146 ["keyword", "flat"], |
| 147 ["keyword", "smooth"], |
| 148 ["keyword", "noperspective"], |
| 149 ["keyword", "patch"], |
| 150 ["keyword", "sample"], |
| 151 ["keyword", "break"], |
| 152 ["keyword", "continue"], |
| 153 ["keyword", "do"], |
| 154 ["keyword", "for"], |
| 155 ["keyword", "while"], |
| 156 ["keyword", "switch"], |
| 157 ["keyword", "case"], |
| 158 ["keyword", "default"], |
| 159 ["keyword", "if"], |
| 160 ["keyword", "else"], |
| 161 ["keyword", "subroutine"], |
| 162 ["keyword", "in"], |
| 163 ["keyword", "out"], |
| 164 ["keyword", "inout"], |
| 165 ["keyword", "float"], |
| 166 ["keyword", "double"], |
| 167 ["keyword", "int"], |
| 168 ["keyword", "void"], |
| 169 ["keyword", "bool"], |
| 170 ["keyword", "true"], |
| 171 ["keyword", "false"], |
| 172 ["keyword", "invariant"], |
| 173 ["keyword", "precise"], |
| 174 ["keyword", "discard"], |
| 175 ["keyword", "return"], |
| 176 ["keyword", "mat2"], ["keyword", "mat3"], ["keyword", "mat4"], |
| 177 ["keyword", "mat2x2"], ["keyword", "mat2x3"], ["keyword", "mat2x4"], |
| 178 ["keyword", "mat3x2"], ["keyword", "mat3x3"], ["keyword", "mat3x4"], |
| 179 ["keyword", "mat4x2"], ["keyword", "mat4x3"], ["keyword", "mat4x4"], |
| 180 ["keyword", "dmat2"], ["keyword", "dmat3"], ["keyword", "dmat4"], |
| 181 ["keyword", "dmat2x2"], ["keyword", "dmat2x3"], ["keyword", "dmat2x4"], |
| 182 ["keyword", "dmat3x2"], ["keyword", "dmat3x3"], ["keyword", "dmat3x4"], |
| 183 ["keyword", "dmat4x2"], ["keyword", "dmat4x3"], ["keyword", "dmat4x4"], |
| 184 ["keyword", "vec2"], ["keyword", "vec3"], ["keyword", "vec4"], |
| 185 ["keyword", "ivec2"], ["keyword", "ivec3"], ["keyword", "ivec4"], |
| 186 ["keyword", "bvec2"], ["keyword", "bvec3"], ["keyword", "bvec4"], |
| 187 ["keyword", "dvec2"], ["keyword", "dvec3"], ["keyword", "dvec4"], |
| 188 ["keyword", "uvec2"], ["keyword", "uvec3"], ["keyword", "uvec4"], |
| 189 ["keyword", "uint"], |
| 190 ["keyword", "lowp"], |
| 191 ["keyword", "mediump"], |
| 192 ["keyword", "highp"], |
| 193 ["keyword", "precision"], |
| 194 ["keyword", "sampler1D"], ["keyword", "sampler2D"], ["keyword", "sampler
3D"], |
| 195 ["keyword", "isampler1D"], ["keyword", "isampler2D"], ["keyword", "isamp
ler3D"], |
| 196 ["keyword", "usampler1D"], ["keyword", "usampler2D"], ["keyword", "usamp
ler3D"], |
| 197 ["keyword", "samplerCube"], ["keyword", "isamplerCube"], ["keyword", "us
amplerCube"], |
| 198 ["keyword", "sampler1DShadow"], ["keyword", "sampler2DShadow"], |
| 199 ["keyword", "samplerCubeShadow"], |
| 200 ["keyword", "sampler1DArray"], ["keyword", "sampler2DArray"], |
| 201 ["keyword", "isampler1DArray"], ["keyword", "isampler2DArray"], |
| 202 ["keyword", "usampler1DArray"], ["keyword", "usampler2DArray"], |
| 203 ["keyword", "sampler1DArrayShadow"], ["keyword", "sampler2DArrayShadow"]
, |
| 204 ["keyword", "sampler2DRect"], ["keyword", "isampler2DRect"], ["keyword",
"usampler2DRect"], |
| 205 ["keyword", "sampler2DRectShadow"], |
| 206 ["keyword", "samplerBuffer"], ["keyword", "isamplerBuffer"], ["keyword",
"usamplerBuffer"], |
| 207 ["keyword", "sampler2DMS"], ["keyword", "isampler2DMS"], ["keyword", "us
ampler2DMS"], |
| 208 ["keyword", "sampler2DMSArray"], ["keyword", "isampler2DMSArray"], ["key
word", "usampler2DMSArray"], |
| 209 ["keyword", "samplerCubeArray"], ["keyword", "isamplerCubeArray"], ["key
word", "usamplerCubeArray"], |
| 210 ["keyword", "samplerCubeArrayShadow"], |
| 211 ["keyword", "image1D"], ["keyword", "image2D"], ["keyword", "image3D"], |
| 212 ["keyword", "iimage1D"], ["keyword", "iimage2D"], ["keyword", "iimage3D"
], |
| 213 ["keyword", "uimage1D"], ["keyword", "uimage2D"], ["keyword", "uimage3D"
], |
| 214 ["keyword", "image2DRect"], ["keyword", "iimage2DRect"], ["keyword", "ui
mage2DRect"], |
| 215 ["keyword", "imageCube"], ["keyword", "iimageCube"], ["keyword", "uimage
Cube"], |
| 216 ["keyword", "imageBuffer"], ["keyword", "iimageBuffer"], ["keyword", "ui
mageBuffer"], |
| 217 ["keyword", "image1DArray"], ["keyword", "image2DArray"], |
| 218 ["keyword", "iimage1DArray"], ["keyword", "iimage2DArray"], |
| 219 ["keyword", "uimage1DArray"], ["keyword", "uimage2DArray"], |
| 220 ["keyword", "imageCubeArray"], ["keyword", "iimageCubeArray"], ["keyword
", "uimageCubeArray"], |
| 221 ["keyword", "image2DMS"], ["keyword", "iimage2DMS"], ["keyword", "uimage
2DMS"], |
| 222 ["keyword", "image2DMSArray"], ["keyword", "iimage2DMSArray"], ["keyword
", "uimage2DMSArray"], |
| 223 ["keyword", "struct"], |
| 224 ["keyword", "common"], |
| 225 ["keyword", "partition"], |
| 226 ["keyword", "active"], |
| 227 ["keyword", "asm"], |
| 228 ["keyword", "class"], ["punctuation", ";"], |
| 229 ["keyword", "union"], |
| 230 ["keyword", "enum"], |
| 231 ["keyword", "typedef"], |
| 232 ["keyword", "template"], |
| 233 ["keyword", "this"], |
| 234 ["keyword", "resource"], |
| 235 ["keyword", "goto"], |
| 236 ["keyword", "inline"], |
| 237 ["keyword", "noinline"], |
| 238 ["keyword", "public"], |
| 239 ["keyword", "static"], |
| 240 ["keyword", "extern"], |
| 241 ["keyword", "external"], |
| 242 ["keyword", "interface"], ["punctuation", ";"], |
| 243 ["keyword", "long"], |
| 244 ["keyword", "short"], |
| 245 ["keyword", "half"], |
| 246 ["keyword", "fixed"], |
| 247 ["keyword", "unsigned"], |
| 248 ["keyword", "superp"], |
| 249 ["keyword", "input"], |
| 250 ["keyword", "output"], |
| 251 ["keyword", "hvec2"], ["keyword", "hvec3"], ["keyword", "hvec4"], |
| 252 ["keyword", "fvec2"], ["keyword", "fvec3"], ["keyword", "fvec4"], |
| 253 ["keyword", "sampler3DRect"], |
| 254 ["keyword", "filter"], |
| 255 ["keyword", "sizeof"], |
| 256 ["keyword", "cast"], |
| 257 ["keyword", "namespace"], |
| 258 ["keyword", "using"] |
| 259 ] |
| 260 |
| 261 ---------------------------------------------------- |
| 262 |
| 263 Checks for keywords. |
OLD | NEW |