Skip to content

anv: Invalidate the correct AUX-TT entry

Sagar Ghuge requested to merge sagarghuge/mesa:wip/issue_4123 into master

While invalidating the AUX-TT entries, we have to consider the surface offset as well otherwise, we will end up invalidating the another surface's CCS portion.

For eg. when we have HZ_CCS and STC_CCS enabled, both will use the CCS portion allocated at the end of BO. While invalidating the CCS portion of stencil buffer, we will end up invalidating the CCS portion that belongs to the depth main surface and vice-versa, if the surface offset is not considered.

Cc: mesa-stable

Closes: #4123 (closed)

Merge request reports