From: Chad Versace Date: Mon, 1 Feb 2016 20:18:10 +0000 (-0800) Subject: anv: Structify a one-member union X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afb327a985d8ad70eb8fcd8b94fdbc040167c22b;p=mesa.git anv: Structify a one-member union anv_descriptor contained a union with one member. --- diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index f4794d9fb9d..b9490ae31e2 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -918,9 +918,7 @@ struct anv_descriptor { union { struct { - union { - struct anv_image_view *image_view; - }; + struct anv_image_view *image_view; struct anv_sampler *sampler; };