To use the standalone binary form, execute glslangValidator, and it will print a usage statement. Basic operation is to give it a file containing a shader, and it will print out warnings/errors and optionally an AST. Instead of building manually, you can also download the binaries for your platform directly from the master-tot release on GitHub. Those binaries are automatically uploaded by the build bots after successful testing and they always reflect the current top of the tree of the master branch. Right now, there are two test harnesses existing in glslang: one is Google Test, one is the runtests script. The former runs unit tests and single-shader single-threaded integration tests, while the latter runs multiple-shader linking tests and multi-threaded tests. Test results should always be included with a pull request that modifies functionality.

Features

  • There are several components
  • Standalone Wrapper
  • Tasks waiting to be done are documented as GitHub issues
  • The applied stage-specific rules are based on the file extension
  • There is also a non-shader extension
  • A C++11 compiler. (For MSVS: use 2015 or later.)

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Glslang

Glslang Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Glslang!

Additional Project Details

Programming Language

C++

Related Categories

C++ Software Development Software, C++ Compilers

Registered

2022-05-24