Skip to content
Snippets Groups Projects
Commit 66d409cc authored by David Neto's avatar David Neto
Browse files

Add an example program for simple C++ API usage

The program demonstrates basic shader compilation using the Shaderc
C++ API.  For clarity, each method is deliberately self-contained.

Techniques demonstrated:
- Preprocessing GLSL source text
- Compiling a shader to SPIR-V assembly text
- Compliing a shader to a SPIR-V binary module
- Setting basic options: setting a preprocessor symbol.
- Checking compilation status and extracting an error message.
parent 5f8d7d3f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment