anv/pipeline: remove the pipeline layout field from anv_pipeline

It no longer has any users.

Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Iago Toral Quiroga 2018-01-25 12:07:34 +01:00
parent 75a4802060
commit d3ce493b34
3 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;