Increase the persistent storage size for SkSL Shaders

Fixes: 190348616
Test: builds

We're now using more complex shaders in more places. This allows us to
store more of them.

Change-Id: I1be3da0458c4b64f7082a2e1bc0d08b0824bbeba
This commit is contained in:
Leon Scroggins III
2021-06-07 16:09:37 -04:00
parent 3b8007a26c
commit 05f5ecaa7a

View File

@@ -31,7 +31,7 @@ namespace skiapipeline {
// Cache size limits.
static const size_t maxKeySize = 1024;
static const size_t maxValueSize = 512 * 1024;
static const size_t maxValueSize = 2 * 1024 * 1024;
static const size_t maxTotalSize = 1024 * 1024;
ShaderCache::ShaderCache() {