Skip to content
Snippets Groups Projects
Commit 72d6deec authored by Lei Zhang's avatar Lei Zhang
Browse files

Add support for optimization after compilation in the library.

Two optimization levels are added:
* shaderc_optimization_level_zero
* shaderc_optimization_level_size

The first does no optimization, while the latter runs
strip-debug-info and then unify-constant pass.

This is just for compilation; no assembling support yet.
parent 29a28289
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