diff options
author | Erik Faye-Lund <[email protected]> | 2018-08-20 12:48:51 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-08-28 14:13:43 +0200 |
commit | 1b2444dffc93b21f93f06f58a0fc5875477b52cc (patch) | |
tree | 6b55d06ea8286a552b4555eeeb35a34b7fccf49f /src | |
parent | 2ebfa90abe476b005f46adc8ed14e57785c541ba (diff) |
virgl: replace fprintf-call with debug_printf
This is the only direct call-site for fprintf in virgl; all other
call-sites call debug_printf instead. So let's follow in style here.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-By: Gert Wollny <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.c b/src/gallium/drivers/virgl/virgl_encode.c index c09eb5a6382..d56484e0dd0 100644 --- a/src/gallium/drivers/virgl/virgl_encode.c +++ b/src/gallium/drivers/virgl/virgl_encode.c @@ -261,7 +261,7 @@ int virgl_encode_shader_state(struct virgl_context *ctx, bret = tgsi_dump_str(tokens, TGSI_DUMP_FLOAT_AS_HEX, str, str_total_size); if (bret == false) { - fprintf(stderr, "Failed to translate shader in available space - trying again\n"); + debug_printf("Failed to translate shader in available space - trying again\n"); old_size = str_total_size; str_total_size = 65536 * ++retry_size; str = REALLOC(str, old_size, str_total_size); |