Reland "[graphite] Enable Vulkan draws and binding texture/samplers"
This reverts commit bddb07184f88e35031843a514391ea9ae04f09b2.
Reason for revert: Adding an assertion for release builds that fixes the Ubuntu GM failure.
Original change's description:
> Revert "[graphite] Enable Vulkan draws and binding texture/samplers"
>
> This reverts commit 6119b059f50a1858f882068cc6738571240b4f5d.
>
> Reason for revert: Breaking Ubuntu Vulkan Test job.
>
> Original change's description:
> > [graphite] Enable Vulkan draws and binding texture/samplers
> >
> > * Enable binding uniform and texture/sampler descriptors, allowing us to remove the SK_DISABLE_VULKAN_RENDERING tag around descriptor set and draw calls
> >
> > * Add ability for VulkanCommandBuffer to access DrawPass's sampled textures such that their image layout can be changed appropriately to be read by shaders prior to beginning a RenderPass
> >
> > * Incorporate number of uniforms & texture/samplers for Vulkan pipeline key creation (changes to those quantities necessitate different pipelines)
> >
> > * Incorporate binding index of descriptors into desc. set key creation
> >
> > * Clamp UBO size and update one descriptor at a time to fix the issue of uniform offsets being incorrect (all being the same within a set)
> >
> > * Various small cleanups & fixes
> > -> color attachment layout change call
> > -> define renderingInfo.viewMask explicitly as 0
> > -> set instance count for draw calls to always be at least 1 (0 does
> > nothing)
> >
> > Change-Id: Icba318b96834e5a4bbaae57bddc76f8945b3b6ac
> > Bug: b/285136232
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/718302
> > Reviewed-by: Jim Van Verth <jvanverth@google.com>
> > Commit-Queue: Nicolette Prevost <nicolettep@google.com>
>
> Bug: b/285136232
> Change-Id: I46c778935aa4f97e1084f1c4122982ba4199d2b8
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/733296
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bug: b/285136232
Change-Id: I504ecbd2af5b04d4c80e983af8400b1471e81c2b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/733438
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Nicolette Prevost <nicolettep@google.com>
9 files changed