mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
ir_print_visitor: Remove unnecessary parenthesis around variable names.
This commit is contained in:
parent
7dd6adbe2e
commit
1168d95109
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ print_type(const glsl_type *t)
|
|||
void ir_print_visitor::visit(ir_variable *ir)
|
||||
{
|
||||
if (deref_depth) {
|
||||
printf("(%s)", ir->name);
|
||||
printf("%s", ir->name);
|
||||
} else {
|
||||
printf("(declare ");
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ void ir_print_visitor::visit(ir_variable *ir)
|
|||
cent, inv, mode[ir->mode], interp[ir->interpolation]);
|
||||
|
||||
print_type(ir->type);
|
||||
printf("(%s)) ", ir->name);
|
||||
printf(" %s)", ir->name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue