mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 18:40:33 +01:00
pan/bi: Add bi_print_shader
Woot! That's the last of it! IR printing is now complete* *until the IR gets updated when new shiny things are added. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
This commit is contained in:
parent
c152d4c835
commit
bc5724faf4
2 changed files with 8 additions and 0 deletions
|
|
@ -415,3 +415,10 @@ bi_print_block(bi_block *block, FILE *fp)
|
|||
|
||||
fprintf(fp, "\n");
|
||||
}
|
||||
|
||||
void
|
||||
bi_print_shader(bi_context *ctx, FILE *fp)
|
||||
{
|
||||
bi_foreach_block(ctx, block)
|
||||
bi_print_block(block, fp);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,5 +42,6 @@ void bi_print_instruction(bi_instruction *ins, FILE *fp);
|
|||
void bi_print_bundle(bi_bundle *bundle, FILE *fp);
|
||||
void bi_print_clause(bi_clause *clause, FILE *fp);
|
||||
void bi_print_block(bi_block *block, FILE *fp);
|
||||
void bi_print_shader(bi_context *ctx, FILE *fp);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue