Revert "swaped shared_ptr for unique_ptr for internal shader storage"

This reverts commit e4a50d456ea23102068871b71da0bab293b21511.