diff options
author | Iago Toral Quiroga <[email protected]> | 2018-01-25 12:07:34 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2018-01-26 14:06:47 +0100 |
commit | d3ce493b34d6c2cacaf4dd17d8646b4db7448784 (patch) | |
tree | eb724405af357bb7b3add89946113092bcf7549b | |
parent | 75a4802060095da87283e6de8239cdb03147c8d8 (diff) |
anv/pipeline: remove the pipeline layout field from anv_pipeline
It no longer has any users.
Suggested-by: Jason Ekstrand <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 2 | ||||
-rw-r--r-- | src/intel/vulkan/anv_private.h | 1 | ||||
-rw-r--r-- | src/intel/vulkan/genX_pipeline.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 065c6c0aa8f..48eefe828a7 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -1291,8 +1291,6 @@ anv_pipeline_init(struct anv_pipeline *pipeline, assert(pCreateInfo->subpass < render_pass->subpass_count); pipeline->subpass = &render_pass->subpasses[pCreateInfo->subpass]; - pipeline->layout = anv_pipeline_layout_from_handle(pCreateInfo->layout); - result = anv_reloc_list_init(&pipeline->batch_relocs, alloc); if (result != VK_SUCCESS) return result; diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 257124ca72d..3cf37dd6bee 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -2144,7 +2144,6 @@ struct anv_pipeline { struct anv_dynamic_state dynamic_state; struct anv_subpass * subpass; - struct anv_pipeline_layout * layout; bool needs_data_cache; diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 10efe542106..45ebe31de6b 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -1756,7 +1756,6 @@ compute_pipeline_create( return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); pipeline->device = device; - pipeline->layout = anv_pipeline_layout_from_handle(pCreateInfo->layout); pipeline->blend_state.map = NULL; |