aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/vk/GrVkRenderTarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/vk/GrVkRenderTarget.h')
-rw-r--r--src/gpu/vk/GrVkRenderTarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/vk/GrVkRenderTarget.h b/src/gpu/vk/GrVkRenderTarget.h
index accc677806..0467371ecb 100644
--- a/src/gpu/vk/GrVkRenderTarget.h
+++ b/src/gpu/vk/GrVkRenderTarget.h
@@ -13,6 +13,7 @@
#include "GrRenderTarget.h"
#include "GrVkRenderPass.h"
+#include "GrVkResourceProvider.h"
class GrVkCommandBuffer;
class GrVkFramebuffer;
@@ -135,6 +136,8 @@ private:
// This is a cached pointer to a simple render pass. The render target should unref it
// once it is done with it.
const GrVkRenderPass* fCachedSimpleRenderPass;
+ // This is a handle to be used to quickly get compatible GrVkRenderPasses for this render target
+ GrVkResourceProvider::CompatibleRPHandle fCompatibleRPHandle;
};
#endif