nir: add linking helper nir_link_xfb_varyings()
The linking opts shouldn't try removing or compacting XFB varyings in the consumer. To avoid this we copy the always_active_io flag from the producer. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:

committed by
Timothy Arceri

parent
0a7664fe8c
commit
7c694cbfa4
@@ -2799,6 +2799,7 @@ bool nir_remove_unused_io_vars(nir_shader *shader, struct exec_list *var_list,
|
||||
uint64_t *used_by_other_stage_patches);
|
||||
void nir_compact_varyings(nir_shader *producer, nir_shader *consumer,
|
||||
bool default_to_smooth_interp);
|
||||
void nir_link_xfb_varyings(nir_shader *producer, nir_shader *consumer);
|
||||
|
||||
typedef enum {
|
||||
/* If set, this forces all non-flat fragment shader inputs to be
|
||||
|
Reference in New Issue
Block a user