You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- The consolve variable "r.UseShaderCaching" controls whether the cache should be used. - The cache has to be initialised and shutdown by the RHI. - All RHI shader types now contain the SHA hash of the compiled source when the cache is in use so that they can be identified efficiently. - All shaders are fetched from the cache rather than being created on-demand. - On shader deserialisation the new shader is sent to the render thread for creation & caching. - After each shader is cached all complete bound-shader-states that include that shader are constructed and cached. - Wrapped OpenGL glCreateShader & glCreateProgram to use name-caching as these operations can synchronise the entire OpenGL pipeline on OS X. [CL 2423996 by Mark Satterthwaite in Main branch]