Skip to content

zink: do not clear on cpu

Erik Faye-Lund requested to merge kusma/mesa:zink-no-cpu-clear into master

This seems to simply be a mixup of what utility function to use. util_clear_render_target clears on the CPU, whereas util_blitter_clear_render_target clears on the GPU. Because we do the zink_blit_begin dance, it seems reasonable to assume the latter was intended.

Fixes: 622f8f6e ("zink: add a pipe_context::clear_texture hook")

Merge request reports