Some drivers dont support const array
Add a function to query supported glsl ver
Do not build shadow shader without gs support.
Support stencil-less config.