radv: handle layer export from vs->fs properly
[mesa.git] / src / amd / common / ac_nir_to_llvm.h
index 4a6572d5d7c1d53ca6c173f8646df14bc68d28b8..c2662e2fe9caa4b528173d3462bdb226d4d10146 100644 (file)
@@ -107,6 +107,7 @@ struct ac_shader_variant_info {
                        uint8_t cull_dist_mask;
                        uint32_t esgs_itemsize;
                        uint32_t prim_id_output;
+                       uint32_t layer_output;
                } vs;
                struct {
                        unsigned num_interp;
@@ -121,6 +122,7 @@ struct ac_shader_variant_info {
                        bool writes_memory;
                        bool force_persample;
                        bool prim_id_input;
+                       bool layer_input;
                } fs;
                struct {
                        unsigned block_size[3];