Pass a VkRenderPass through pipeline state creation instead of GrVkRenderPass.
This is just a general precurser CL to when we eventually will only be given a
compatible render pass handle from a client and we need to use that to create
VkPipelines.
Bug: skia:8442
Change-Id: I4073915e6f8a8bfe3655b4df31da09d220e6a4af
Reviewed-on: https://skia-review.googlesource.com/c/159321
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/vk/GrVkPipeline.h b/src/gpu/vk/GrVkPipeline.h
index 69281ef..60e6a28 100644
--- a/src/gpu/vk/GrVkPipeline.h
+++ b/src/gpu/vk/GrVkPipeline.h
@@ -31,7 +31,7 @@
VkPipelineShaderStageCreateInfo* shaderStageInfo,
int shaderStageCount,
GrPrimitiveType primitiveType,
- const GrVkRenderPass& renderPass,
+ VkRenderPass compatibleRenderPass,
VkPipelineLayout layout,
VkPipelineCache cache);