Results 1 to 4 of 4

Thread: Mesa's GLSL Compiler Has Been Made To Stand Alone

  1. #1
    Join Date
    Jan 2007
    Posts
    14,294

    Default Mesa's GLSL Compiler Has Been Made To Stand Alone

    Phoronix: Mesa's GLSL Compiler Has Been Made To Stand Alone

    Ian Romanick of Intel has restored work on having a standalone Mesa GLSL compiler separate from the rest of the Mesa implementation. The purpose of this standalone compiler is largely for testing purposes by OpenGL game/application developers in trying to verify/validate behavior and be independent of the specific Mesa drivers...

    http://www.phoronix.com/vr.php?view=MTQ1ODQ

  2. #2
    Join Date
    May 2012
    Location
    Sunshine State
    Posts
    303

    Default

    This is great. One of the biggest problems with GLSL in the proprietary AMD/Nvidia drivers (on all OSes) is that they each have their own implementations (including front-ends). While that doesn't really apply to the open-source graphics stack, advancement of this kind of modularized tech might eventually encourage those companies to share a open front-end implementation (removing the burden from GLSL devs from needing to be aware of the differences). Which is an area HLSL has GLSL beat.

  3. #3
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    4,984

    Default

    I've been using it as such since 2011. See Aras' glslopt on github.

    A command-line GLSL compiler that checks offline if my shaders are valid.

  4. #4
    Join Date
    Sep 2013
    Location
    below sea-level
    Posts
    10

    Default

    This is great news. The old 3DLabs GLSLValidator library was getting way outdated, most people stopped using it a long time ago.

    The NVdia GLSL compiler is much more lenient compared to ATI/AMD, which is more strict (although the former can be configured to be more strict with proper #version statement).

    By removing unnecissary dependecies on the Mesa compiler it will make it easier to integrate this in development tools/pipelines. I would also expect to see future plugins for gedit and other text editors. I'm looking forward to using it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •