commit | 8bd071998e92fb45f7bfd6e42313a10911ee7933 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Tue May 12 13:26:56 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue May 12 18:01:13 2020 +0000 |
tree | 12362e9e971d62599e1d6dc443cebe89a7f49373 | |
parent | 48fcdacf9eecd073ffd76e34685cae65ee4601f2 [diff] |
Add GrVkResourceProvider::findCompatibleRenderPass variant that takes an AttachmentsDescriptor The plan is to create an AttachmentsDescriptor and AttachmentFlags from the GrProgramInfo in order to get a GrVkRenderPass which can be used to findOrCreate a PipelineState. This is pulled out of: https://skia-review.googlesource.com/c/skia/+/288462 ([Omnibus] Add program pre-compilation to Vulkan backend) Bug: skia:9455 Change-Id: I5bc3f65f92cee50567b7bd2d5f2414628869c9b7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289222 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>