Skip to content

aux/tc: fix rp info resizing clobbering current info

Mike Blumenkrantz requested to merge zmike/mesa:tc-mem into main

the recording rp_info may be a pointer to a member of the array being reallocated, so test for this and re-set it to avoid invalid memory access

found with this caselist: KHR-GL46.texture_gather.offset-gather-unorm-2darray KHR-GL46.texture_view.view_sampling

cc: mesa-stable

Merge request reports