Skip to content

anv/zink: sparse-related fixes

Paulo Zanoni requested to merge pzanoni/mesa:zink-sparse-fixes into main

This is my attempt to provide a fix for #10220 (closed). Read the issue for the complete details. This is the first time I touch Zink code, so maybe the patches are all wrong, but at least it's a starting point to figure out the real solution. On patch 2 there's a chunk that uses a MIN2(res->base.b.width0 - offset, size) and I have absolutely no idea what the first argument is dealing with. Help is appreciated.

This is only tested on Anv. I'm hoping to use our Gitlab CI pipeline to see what happens to the other drivers.

Thanks,
Paulo

Merge request reports