[Graphite] Fix Vulkan write and readPixels to RGB_888 format
Adds manualy conversion to and from the 3 channel format when uploading
and reading back data. SkColorType and thus RasterPipeline don't support
three channel formats so we have to manually move the data ourselves.
Change-Id: I1c997638f7b657efefc51c93208eb94a188f9bac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/792676
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Nicolette Prevost <nicolettep@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
10 files changed