ac/nir: Allow ac_shader_variant_info to contain info about multiple stages.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 25 Sep 2017 03:54:55 +0000 (05:54 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 19 Oct 2017 20:24:51 +0000 (22:24 +0200)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.h

index 8a1e64ce7e1bc05e97ae5381ee66ef1dac3319af..66d539dec47e3a667b5a65d67902774615be37b7 100644 (file)
@@ -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;