zink: remove bogus range tracking from texture clear
too much copy/paste Acked-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17366>
This commit is contained in:
parent
af2e4a23c9
commit
d1db078619
|
@ -421,8 +421,6 @@ zink_clear_texture(struct pipe_context *pctx,
|
||||||
zink_blit_begin(ctx, ZINK_BLIT_SAVE_FB | ZINK_BLIT_SAVE_FS);
|
zink_blit_begin(ctx, ZINK_BLIT_SAVE_FB | ZINK_BLIT_SAVE_FS);
|
||||||
util_blitter_clear_render_target(ctx->blitter, surf, &color, box->x, box->y, box->width, box->height);
|
util_blitter_clear_render_target(ctx->blitter, surf, &color, box->x, box->y, box->width, box->height);
|
||||||
}
|
}
|
||||||
if (res->base.b.target == PIPE_BUFFER)
|
|
||||||
util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width);
|
|
||||||
} else {
|
} else {
|
||||||
float depth = 0.0;
|
float depth = 0.0;
|
||||||
uint8_t stencil = 0;
|
uint8_t stencil = 0;
|
||||||
|
|
Loading…
Reference in New Issue