Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OpenGL ES as a shading language #1497

Merged
merged 3 commits into from
Sep 27, 2021

Commits on Sep 22, 2021

  1. Add support for OpenGL ES as a shading language

    This commit adds two new entries to `GpuLanguage`,
    `GPU_LANGUAGE_GLSL_ES_1_0` and `GPU_LANGUAGE_GLSL_ES_3_0`.
    
    The only meaningful differences w.r.t. stock OpenGL are:
    
    - the 1D texture optimization isn't applied to ES, as they are not
      supported at all;
    
    - the texture<N>D() calls are replaced in GLSL ES 3 by a call to
      texture().
    
    Fixes AcademySoftwareFoundation#1486
    
    Signed-off-by: L. E. Segovia <13498015+amyspark@users.noreply.github.com>
    amyspark committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    0c2a86f View commit details
    Browse the repository at this point in the history
  2. GLSL ES: remove ABI break

    Signed-off-by: L. E. Segovia <13498015+amyspark@users.noreply.github.com>
    amyspark committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    c9016df View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. OpenGLBuilder: use switch to check GLSL version

    Signed-off-by: L. E. Segovia <13498015+amyspark@users.noreply.github.com>
    amyspark committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    dfeb978 View commit details
    Browse the repository at this point in the history