Add options to Compiler()
gongminmin opened this issue · comments
Enable to have options for compiling shader.
Consider adding some options like these:
- Zpc: Packs matrices in column-major order by deafult
- Zpr: Packs matrices in row-major order by deafult
- enable-16bit-types: Half, int16_t, etc
- O{|0|1|2|3}: Optmization levels
- Zi: Debug info
- ShaderModel: Assign a shader model