mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
ir_print_visitor: Print (constant bool (1)) instead of "true"
It might be better to simply handle "true" in the reader, but since booleans normally aren't printed as "true" or "false", we may as well go for consistency.
This commit is contained in:
parent
2bc582d265
commit
405e122a47
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ void ir_print_visitor::visit(ir_assignment *ir)
|
|||
if (ir->condition)
|
||||
ir->condition->accept(this);
|
||||
else
|
||||
printf("true");
|
||||
printf("(constant bool (1))");
|
||||
|
||||
printf(" ");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue