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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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