[Mesa-dev] [PATCH 2/5] anv: Revive struct anv_common
Chad Versace
chadversary at chromium.org
Wed Jan 25 21:48:36 UTC 2017
On Wed 25 Jan 2017, Jason Ekstrand wrote:
> On Wed, Jan 25, 2017 at 12:12 PM, Chad Versace <chadversary at chromium.org>
> wrote:
>
> The struct was deleted by:
> commit efe9d1cde3340d3a9d17e5560b609a4fb839d43d
> Author: Edward O'Callaghan <funfunctor at folklore1984.net>
> Subject: anv: Clean up some unused variables
>
> Unlike the original anv_common, the new one has a non-const pNext
> pointer because we will use it for the output structs of
> VK_KHR_get_physical_device_properties2.
> ---
> src/intel/vulkan/anv_private.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> +struct anv_common {
> + VkStructureType sType;
> + void *pNext;
>
>
> I've found that it's more convenient for struct walking if this is a struct
> anv_common *
I like that change. v3 is coming.
More information about the mesa-dev
mailing list