Skip to content

v3d: use operations to specify what to save in blitter

Juan A. Suárez requested to merge jasuarez/mesa:review/v3d-zssurf-leak into main

The aim was to fix a leak in depth-stencil surface because we were saving framebuffer state for further use of blitter to clean depth-stencil when we actually shouldn't (but we should for other clean operations).

Inspired by r600 and panfrost, this refactors the way of specifying which state should be saved before using blitter, based on the kind of operations to execute.

Merge request reports