mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 05:48:07 +02:00
nir/link_opt_varyings: Make it participate in NIR_DEBUG=print.
It's a pass with major effects on shaders, and it's otherwise weird to see your varying disappear between two passes that shouldn't affect them. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37313>
This commit is contained in:
parent
c76b52ae00
commit
d8690f9c60
1 changed files with 9 additions and 0 deletions
|
|
@ -1434,6 +1434,15 @@ nir_link_opt_varyings(nir_shader *producer, nir_shader *consumer)
|
|||
|
||||
_mesa_hash_table_destroy(varying_values, NULL);
|
||||
|
||||
if (should_print_nir(producer)) {
|
||||
printf("nir_link_opt_varyings\n");
|
||||
nir_print_shader(producer, stdout);
|
||||
}
|
||||
if (should_print_nir(consumer)) {
|
||||
printf("nir_link_opt_varyings\n");
|
||||
nir_print_shader(consumer, stdout);
|
||||
}
|
||||
|
||||
return progress;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue