d3d11: Add support for HLSL precompile and shader caching
Compile HLSL at build time in case of MSVC, and use it if device supports shader model 5. Also cache/reuse pixel shader and vertex shader objects.
Edited by Seungha Yang
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Compile HLSL at build time in case of MSVC, and use it if device supports shader model 5. Also cache/reuse pixel shader and vertex shader objects.