zink: remove extraneous \n with shaderdb
the newline is implicit for util debug messages. this fixes shaderdb output being half blank lines and brings zink in line with hardware mesa drivers. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30194>
This commit is contained in:

committed by
Marge Bot

parent
8177a4f72a
commit
d45e2f3f15
@@ -1420,7 +1420,7 @@ print_pipeline_stats(struct zink_screen *screen, VkPipeline pipeline, struct uti
|
||||
|
||||
/* print_buf is only valid after flushing. */
|
||||
fflush(f);
|
||||
util_debug_message(debug, SHADER_INFO, "%s\n", print_buf);
|
||||
util_debug_message(debug, SHADER_INFO, "%s", print_buf);
|
||||
|
||||
u_memstream_close(&stream);
|
||||
free(print_buf);
|
||||
|
Reference in New Issue
Block a user