diff options
Diffstat (limited to 'src/gpu/vk/GrVkPipelineState.h')
-rw-r--r-- | src/gpu/vk/GrVkPipelineState.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/vk/GrVkPipelineState.h b/src/gpu/vk/GrVkPipelineState.h index 2ea01c1479..ee948a8519 100644 --- a/src/gpu/vk/GrVkPipelineState.h +++ b/src/gpu/vk/GrVkPipelineState.h @@ -23,6 +23,7 @@ class GrVkDescriptorSet; class GrVkGpu; class GrVkImageView; class GrVkPipeline; +class GrVkPipelineLayout; class GrVkSampler; class GrVkUniformBuffer; @@ -125,7 +126,7 @@ private: // Used for binding DescriptorSets to the command buffer but does not need to survive during // command buffer execution. Thus this is not need to be a GrVkResource. - VkPipelineLayout fPipelineLayout; + GrVkPipelineLayout* fPipelineLayout; // The DescriptorSets need to survive until the gpu has finished all draws that use them. // However, they will only be freed by the descriptor pool. Thus by simply keeping the |