Implemented shader cache.