Skip to content

asahi: match_soa: Treat offsets as signed

Asahi Lina requested to merge asahilina/mesa:agx/match_soa_signedness into main

asahi: match_soa: Treat offsets as signed

An offset may be negative, indexing backwards from the array base. When we right shift an offset by the format shift, we need to use a signed shift to ensure that the resulting offset is still negative.

Fixes Nautilus faults/pink crashes.

Signed-off-by: Asahi Lina lina@asahilina.net

Merge request reports

Loading