From 6078a3bd51c142749f34d51e0eb2cdc83c35dc01 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 25 Sep 2017 05:54:55 +0200 Subject: [PATCH] ac/nir: Allow ac_shader_variant_info to contain info about multiple stages. Reviewed-by: Dave Airlie --- src/amd/common/ac_nir_to_llvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2