summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-10-07 15:06:47 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-10-14 15:40:39 -0700
commitdedc406ec8adc6a36eb2b37e3f565aaa1dce6e3f (patch)
tree00ab93a85c96886b33f42fe248c392d12bb89402 /src/intel/vulkan/anv_pipeline.c
parentd823f92970447859c4891728da4e48f0c9bc0044 (diff)
downloadexternal_mesa3d-dedc406ec8adc6a36eb2b37e3f565aaa1dce6e3f.zip
external_mesa3d-dedc406ec8adc6a36eb2b37e3f565aaa1dce6e3f.tar.gz
external_mesa3d-dedc406ec8adc6a36eb2b37e3f565aaa1dce6e3f.tar.bz2
anv: Get rid of meta
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
-rw-r--r--src/intel/vulkan/anv_pipeline.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 6b393a6..672f73d 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -960,10 +960,8 @@ anv_pipeline_validate_create_info(const VkGraphicsPipelineCreateInfo *info)
renderpass = anv_render_pass_from_handle(info->renderPass);
assert(renderpass);
- if (renderpass != &anv_meta_dummy_renderpass) {
- assert(info->subpass < renderpass->subpass_count);
- subpass = &renderpass->subpasses[info->subpass];
- }
+ assert(info->subpass < renderpass->subpass_count);
+ subpass = &renderpass->subpasses[info->subpass];
assert(info->stageCount >= 1);
assert(info->pVertexInputState);