mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
nir: Stop double-printing function arguments
This commit is contained in:
parent
cb317b8d07
commit
fe247bbe92
1 changed files with 0 additions and 10 deletions
|
|
@ -964,16 +964,6 @@ print_function_impl(nir_function_impl *impl, print_state *state)
|
|||
|
||||
fprintf(fp, "{\n");
|
||||
|
||||
for (unsigned i = 0; i < impl->num_params; i++) {
|
||||
fprintf(fp, "\t");
|
||||
print_var_decl(impl->params[i], state);
|
||||
}
|
||||
|
||||
if (impl->return_var) {
|
||||
fprintf(fp, "\t");
|
||||
print_var_decl(impl->return_var, state);
|
||||
}
|
||||
|
||||
nir_foreach_variable(var, &impl->locals) {
|
||||
fprintf(fp, "\t");
|
||||
print_var_decl(var, state);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue