diff options
author | Chad Versace <[email protected]> | 2015-10-19 08:44:38 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-10-20 10:48:26 -0700 |
commit | 81f8b82fc866aeadcbedce12395605918c105317 (patch) | |
tree | d2a5f93b018a44d7e24c28eff69003b78e731fe0 /src/vulkan/anv_private.h | |
parent | 0d84a0d58b977639395e848ced05bb0c959bd1a2 (diff) |
vk/meta: Add required renderpass to pipeline
The Vulkan spec (20 Oct 2015, git-aa308cb) requires that
VkGraphicsPipelineCreateInfo::renderPass be a valid handle. To satisfy
that, define a static dummy render pass used for all meta operations.
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 5f9a3ce5c12..68598a9dd49 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -1395,6 +1395,8 @@ struct anv_render_pass { struct anv_subpass subpasses[0]; }; +extern struct anv_render_pass anv_meta_dummy_renderpass; + struct anv_query_pool_slot { uint64_t begin; uint64_t end; |