summaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-09-25 05:54:55 +0200
committerBas Nieuwenhuizen <[email protected]>2017-10-19 22:24:51 +0200
commit6078a3bd51c142749f34d51e0eb2cdc83c35dc01 (patch)
tree657a01a46dbb8a39c3ca40ba5bcf3b15cf5be7f8 /src/amd/common
parenta996ed1f9b84d6b2744bad6226d9b66a9c94d387 (diff)
ac/nir: Allow ac_shader_variant_info to contain info about multiple stages.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r--src/amd/common/ac_nir_to_llvm.h2
1 files changed, 1 insertions, 1 deletions
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;