diff options
author | Eric Anholt <[email protected]> | 2018-06-25 15:18:51 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-07-27 17:55:57 -0700 |
commit | 3c02838d2956692101ae205f1aff362fa3a93c76 (patch) | |
tree | 29212902352d823cf674c5afb94fc3b3bb3cd5e5 /src/broadcom/clif/v3dx_dump.c | |
parent | 422910d2e75063b80ffcc16aa4087880f20319c1 (diff) |
v3d: Stop doing pretty-printed colorful booleans in CLIF output.
The parser wants to see a 1 or 0. We can put "true" and "false" in a
comment to clarify that it's a boolean and the parser will skip it.
Diffstat (limited to 'src/broadcom/clif/v3dx_dump.c')
-rw-r--r-- | src/broadcom/clif/v3dx_dump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/broadcom/clif/v3dx_dump.c b/src/broadcom/clif/v3dx_dump.c index 2229fe9d25c..1d1e0b87a9a 100644 --- a/src/broadcom/clif/v3dx_dump.c +++ b/src/broadcom/clif/v3dx_dump.c @@ -47,7 +47,7 @@ v3dX(clif_dump_packet)(struct clif_dump *clif, uint32_t offset, *size = v3d_group_get_length(inst); out(clif, "%s\n", v3d_group_get_name(inst)); - v3d_print_group(clif, inst, 0, cl, ""); + v3d_print_group(clif, inst, 0, cl); switch (*cl) { case V3DX(GL_SHADER_STATE_opcode): { @@ -87,7 +87,7 @@ v3dX(clif_dump_packet)(struct clif_dump *clif, uint32_t offset, cl += *size; for (int i = 0; i < values.number_of_16_bit_output_data_specs_following; i++) { - v3d_print_group(clif, spec, 0, cl, ""); + v3d_print_group(clif, spec, 0, cl); cl += v3d_group_get_length(spec); *size += v3d_group_get_length(spec); } @@ -107,13 +107,13 @@ v3dX(clif_dump_packet)(struct clif_dump *clif, uint32_t offset, cl += *size; for (int i = 0; i < values.number_of_16_bit_output_data_specs_following; i++) { - v3d_print_group(clif, spec, 0, cl, ""); + v3d_print_group(clif, spec, 0, cl); cl += v3d_group_get_length(spec); *size += v3d_group_get_length(spec); } for (int i = 0; i < values.number_of_32_bit_output_buffer_address_following; i++) { - v3d_print_group(clif, addr, 0, cl, ""); + v3d_print_group(clif, addr, 0, cl); cl += v3d_group_get_length(addr); *size += v3d_group_get_length(addr); } |