[graphite] Introduce ComputePipeline
* Added the ComputePipelineDesc, ComputePipeline and MtlComputePipeline
classes as the compute stage equivalents of GraphicsPipelineDesc,
GraphicsPipeline, and MtlGraphicsPipeline.
* Implemented rudimentary resource tracking for compute pipeline objects
using a name string that is provided during construction.
* A compute pipeline currently must be constructed with a unique name
and the complete SkSL program text directly. This is temporary until
there is a more sophisticated way to represent compute programs.
Commit-Queue: Arman Uguray <firstname.lastname@example.org>
Reviewed-by: Greg Daniel <email@example.com>
Reviewed-by: Jim Van Verth <firstname.lastname@example.org>
15 files changed