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:
parent
75a4802060
commit
d3ce493b34
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue