Module: Mesa Branch: main Commit: c56b46638cde9c93875702e6a083d136345c852f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c56b46638cde9c93875702e6a083d136345c852f
Author: Mike Blumenkrantz <[email protected]> Date: Thu Mar 16 13:34:46 2023 -0400 zink: round geometry for u_blitter debug markers this otherwise gets weird values Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21962> --- src/gallium/drivers/zink/zink_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_draw.cpp b/src/gallium/drivers/zink/zink_draw.cpp index ddff801beae..efea54904c8 100644 --- a/src/gallium/drivers/zink/zink_draw.cpp +++ b/src/gallium/drivers/zink/zink_draw.cpp @@ -838,7 +838,7 @@ zink_draw(struct pipe_context *pctx, marker = zink_cmd_debug_marker_begin(ctx, VK_NULL_HANDLE, "u_blitter(%s->%s, %dx%d)", util_format_short_name(ctx->sampler_views[MESA_SHADER_FRAGMENT][0]->format), util_format_short_name(ctx->fb_state.cbufs[0]->format), - viewport.width, viewport.height); + lround(viewport.width), lround(viewport.height)); } bool needs_drawid = reads_drawid && zink_get_last_vertex_key(ctx)->push_drawid;
