[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:
parent
bbc4ee5e07
commit
e03b9d14a1
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user