Use a global mutex to avoid race-conditions in shader compiler
Merge pull request #146 from tomaka/global-compilation-lock

Use a global mutex to avoid race-conditions in shader compiler
Add depth, stencil, and depth-stencil texture formats
Add DepthTexture*, StencilTexture* and DepthStencilTexture* structs