Module: Mesa Branch: staging/22.3 Commit: cb0e344a8529f7fbdc0d9405c691296150465a14 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb0e344a8529f7fbdc0d9405c691296150465a14
Author: Mike Blumenkrantz <[email protected]> Date: Fri Feb 10 08:20:01 2023 -0500 zink: add newlines to some debug printfs cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21239> (cherry picked from commit cd446b87e1f5ec2c5f1273627c611325595d1971) --- .pick_status.json | 2 +- src/gallium/drivers/zink/zink_resource.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 285d3393296..8960128559c 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -400,7 +400,7 @@ "description": "zink: add newlines to some debug printfs", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/gallium/drivers/zink/zink_resource.c b/src/gallium/drivers/zink/zink_resource.c index df5123c037c..0ca74892296 100644 --- a/src/gallium/drivers/zink/zink_resource.c +++ b/src/gallium/drivers/zink/zink_resource.c @@ -1291,7 +1291,7 @@ add_resource_bind(struct zink_context *ctx, struct zink_resource *res, unsigned } struct zink_resource_object *new_obj = resource_object_create(screen, &res->base.b, NULL, &res->linear, res->modifiers, res->modifiers_count, NULL); if (!new_obj) { - debug_printf("new backing resource alloc failed!"); + debug_printf("new backing resource alloc failed!\n"); res->base.b.bind &= ~bind; return false; } @@ -1640,7 +1640,7 @@ invalidate_buffer(struct zink_context *ctx, struct zink_resource *res) struct zink_resource_object *new_obj = resource_object_create(screen, &res->base.b, NULL, NULL, NULL, 0, NULL); if (!new_obj) { - debug_printf("new backing resource alloc failed!"); + debug_printf("new backing resource alloc failed!\n"); return false; } /* this ref must be transferred before rebind or else BOOM */
