Skip to content

radv: Fix inverted shader replay allocation condition

Friedrich Vock requested to merge pixelcluster/mesa:replay-shader-cond into main

The replayed allocation starting after the free hole (i.e. the allocation is located somewhere in the middle of the hole) is a perfectly valid scenario which can be handled by splitting the hole in two.

If the first free hole starts after the allocation, that means at least part of the allocation is located in an already-occupied hole, so that case is when we need to return NULL.

Merge request reports