[graphite] Add generalized createBindGroup(...) to DawnResourceProvider

* This CL is merely additive, and adds utilization of the new createBindGroup(...) method where applicable.

* The bespoke findOrCreateUniformBuffersBindGroup(...) and findOrCreateSingleTextureSamplerBindGroup(...) will be modified in upcoming CLs which will allow removal of the bind group cache on the DawnResourceProvider.

* This also helps move to a more similar bind group creation model to the Vulkan backend; setting us up well in the future to use the graphite-level DescriptorData structure to represent bind group entries.

Change-Id: I117f67e144c2f4efd6fd0ca2fd06a545d1467e22
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1228916
Auto-Submit: Nicolette Prevost <nicolettep@google.com>
Commit-Queue: Thomas Smith <thomsmit@google.com>
Reviewed-by: Thomas Smith <thomsmit@google.com>
3 files changed