3 and 4 are

Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net>

On Thu, Jan 25, 2018 at 4:24 AM, Iago Toral Quiroga <ito...@igalia.com>
wrote:

> It no longer has any users.
>
> Suggested-by: Jason Ekstrand <ja...@jlekstrand.net>
> ---
>  src/intel/vulkan/anv_pipeline.c  | 2 --
>  src/intel/vulkan/anv_private.h   | 1 -
>  src/intel/vulkan/genX_pipeline.c | 1 -
>  3 files changed, 4 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_
> pipeline.c
> index 4dc18096af5..43ae9f5ef91 100644
> --- a/src/intel/vulkan/anv_pipeline.c
> +++ b/src/intel/vulkan/anv_pipeline.c
> @@ -1297,8 +1297,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 ae99cd51ff4..ea3af3a0f2b 100644
> --- a/src/intel/vulkan/anv_private.h
> +++ b/src/intel/vulkan/anv_private.h
> @@ -2147,7 +2147,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 82fdf206a95..91cc37de04a 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;
>
> --
> 2.14.1
>
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to