Skip to content

r600: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot()

What does this MR do and why?

r600: 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/arb_shader_storage_buffer_object-max-ssbo-size fs -auto -fbo" while setting GALLIUM_REFCNT_LOG=refcnt.log.

Fixes: 3d6e44fd ("r300,r600,svga: save the FS constant buffer for u_blitter to fix a regression")

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

This change is the backport of !23856 (merged) for r600.

Merge request reports