Sha256: 0c1ba0f9a0369a823054c9da4e42887c4f1120903f94996a265d489d9fd02fb7

Contents?: true

Size: 1.93 KB

Versions: 27

Compression:

Stored size: 1.93 KB

Contents

{
  "name": "ESSL",
  "scopeName": "source.essl",
  "patterns": [
    {
      "name": "keyword.control.essl",
      "match": "\\b(break|continue|discard|do|else|for|if|return|while)\\b"
    },
    {
      "name": "storage.type.essl",
      "match": "\\b(void|mat2|mat3|mat4|vec2|vec3|vec4|ivec2|ivec3|ivec4|bvec2|bvec3|bvec4|sampler2D|samplerCube|struct)\\b"
    },
    {
      "name": "storage.modifier.essl",
      "match": "\\b(attribute|const|in|inout|out|uniform|varying|invariant|lowp|mediump|highp|precision)\\b"
    },
    {
      "name": "support.variable.essl",
      "match": "\\b(gl_Position|gl_PointSize|gl_FragCoord|gl_FrontFacing|gl_FragColor|gl_FragData|gl_PointCoord)\\b"
    },
    {
      "name": "support.constant.essl",
      "match": "\\b(gl_MaxVertexAttribs|gl_MaxVertexUniformVectors|gl_MaxVaryingVectors|gl_MaxVertexTextureImageUnits|gl_MaxCombinedTextureImageUnits|gl_MaxTextureImageUnits|gl_MaxFragmentUniformVectors|gl_MaxDrawBuffers|gl_DepthRange|__VERSION__|GL_ES)\\b"
    },
    {
      "name": "support.function.essl",
      "match": "\\b(radians|degrees|sin|cos|tan|asin|acos|atan|atan|pow|exp|log|exp2|log2|sqrt|inversesqrt|abs|sign|floor|ceil|fract|mod|mod|min|max|clamp|mix|step|smoothstep|length|distance|dot|cross|normalize|faceforward|reflect|refract|matrixCompMult|lessThan|lessThanEqual|greaterThan|greaterThanEqual|equal|notEqual|any|all|not|texture2D|texture2DProj|texture2DLod|texture2DProjLod|textureCube|textureCubeLod)\\b"
    },
    {
      "name": "invalid.illegal.essl",
      "match": "\\b(asm|class|union|enum|typedef|template|this|packed|goto|switch|default|inline|noinline|volatile|public|static|extern|external|interface|flat|long|short|double|half|fixed|unsigned|superp|input|output|hvec2|hvec3|hvec4|dvec2|dvec3|dvec4|fvec2|fvec3|fvec4|sampler1D|sampler3D|sampler1DShadow|sampler2DShadow|sampler2DRect|sampler3DRect|sampler2DRectShadow|sizeof|cast|namespace|using)\\b"
    },
    {
      "include": "source.c"
    }
  ]
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/source.essl.json
github-linguist-7.10.0 grammars/source.essl.json
github-linguist-7.11.0 grammars/source.essl.json
github-linguist-7.9.0 grammars/source.essl.json
github-linguist-7.8.0 grammars/source.essl.json
github-linguist-7.7.0 grammars/source.essl.json
github-linguist-7.6.1 grammars/source.essl.json
github-linguist-7.6.0 grammars/source.essl.json
github-linguist-7.5.1 grammars/source.essl.json
github-linguist-7.5.0 grammars/source.essl.json
github-linguist-7.4.0 grammars/source.essl.json
github-linguist-7.3.1 grammars/source.essl.json
github-linguist-7.3.0 grammars/source.essl.json
github-linguist-7.2.0 grammars/source.essl.json
github-linguist-7.1.3 grammars/source.essl.json
github-linguist-7.1.2 grammars/source.essl.json
github-linguist-7.1.1 grammars/source.essl.json
github-linguist-7.1.0 grammars/source.essl.json
github-linguist-7.0.0 grammars/source.essl.json
github-linguist-6.4.1 grammars/source.essl.json