projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: do not remove varyings used for transform feedback
[mesa.git]
/
src
/
compiler
/
nir
/
nir_linking_helpers.c
diff --git
a/src/compiler/nir/nir_linking_helpers.c
b/src/compiler/nir/nir_linking_helpers.c
index 8e67e84b58827fb89de05edcbc42570328056563..aaa4204cce9aff02c9a8543d2477a91ce5c49d4b 100644
(file)
--- a/
src/compiler/nir/nir_linking_helpers.c
+++ b/
src/compiler/nir/nir_linking_helpers.c
@@
-128,6
+128,9
@@
nir_remove_unused_io_vars(nir_shader *shader, struct exec_list *var_list,
if (var->data.always_active_io)
continue;
+ if (var->data.explicit_xfb_buffer)
+ continue;
+
uint64_t other_stage = used[var->data.location_frac];
if (!(other_stage & get_variable_io_mask(var, shader->info.stage))) {