Skip to content

radeonsi: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot()

What does this MR do and why?

radeonsi: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot()

Indeed, util_blitter_clear() requires a call to util_blitter_save_fragment_constant_buffer_slot(), but most other blitter functions do not.

For instance, this issue is triggered with: "piglit/bin/object-namespace-pollution glDrawPixels buffer -auto -fbo" while setting GALLIUM_REFCNT_LOG=refcnt.log.

Fixes: 03bc7503 ("radeonsi: save the fs constant buffer to the util blitter context")

Signed-off-by: Patrick Lerda patrick9876@free.fr

This change is the follow-up of !22132 (closed) for radeonsi.

Merge request reports