Skip to content

radeonsi: fix KHR-GL46.stencil_texturing.functional crash

Yogesh Mohan Marmithu requested to merge yogeshmohan/mesa:fix_glcts_crash into main

In si_update_ps_colorbuf0_slot(), variable ps_uses_fbfetch is not updated since blitter_running will be true in all cases u_blitter_ functions are used. In the crash case it is si_copy_region_with_blit().

with debug build asserion "!sctx->ps_uses_fbfetch || sctx->framebuffer.state.cbufs[0] failed" is hit.

In case of si_blit_decompress_color(), si_update_ps_colorbuf0_slot() should not be run again otherwise it will end in u_blitter_* recursive call bug in cards particularly older than vega.

older MR/patch related to this issue #6921 (closed) - radeonsi: driver crashes with kwin-effects-cube bc6d22b9 - radeonsi: fix ps_uses_fbfetch value

Edited by Yogesh Mohan Marmithu

Merge request reports

Loading