[graphite] Store isFBOnly flag in samplesKey

Change-Id: I409dbac3d8548551722e74e86e67bc7b3620f506
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/507838
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
This commit is contained in:
Jim Van Verth 2022-02-11 12:44:00 -05:00 committed by SkCQ
parent bbc4ee5e07
commit e03b9d14a1

View File

@ -455,7 +455,7 @@ void Caps::buildKeyForTexture(SkISize dimensions,
(static_cast<uint32_t>(isProtected) << 4) |
(static_cast<uint32_t>(mtlSpec.fUsage) << 5) |
(static_cast<uint32_t>(mtlSpec.fStorageMode) << 10)|
(static_cast<uint32_t>(mtlSpec.fStorageMode) << 12);
(static_cast<uint32_t>(isFBOnly) << 12);
}