mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-28 04:34:25 +08:00
zink: round geometry for u_blitter debug markers
this otherwise gets weird values Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21962>
This commit is contained in:
parent
3a9f7d7038
commit
c56b46638c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user