From: Bas Nieuwenhuizen Date: Mon, 25 Sep 2017 03:54:55 +0000 (+0200) Subject: ac/nir: Allow ac_shader_variant_info to contain info about multiple stages. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6078a3bd51c142749f34d51e0eb2cdc83c35dc01;p=mesa.git ac/nir: Allow ac_shader_variant_info to contain info about multiple stages. Reviewed-by: Dave Airlie --- diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h index 8a1e64ce7e1..66d539dec47 100644 --- a/src/amd/common/ac_nir_to_llvm.h +++ b/src/amd/common/ac_nir_to_llvm.h @@ -154,7 +154,7 @@ struct ac_shader_variant_info { unsigned num_input_sgprs; unsigned num_input_vgprs; bool need_indirect_descriptor_sets; - union { + struct { struct { struct ac_vs_output_info outinfo; struct ac_es_output_info es_info;