libagx: use 64-bit multiply for image atomic calculation

lets use the hw address mode. oops!

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
This commit is contained in:
Alyssa Rosenzweig
2025-02-04 15:54:58 -05:00
committed by Marge Bot
parent 5a122768b7
commit 580aff179c
+1 -1
View File
@@ -200,7 +200,7 @@ libagx_image_texel_address(constant const struct agx_pbe_packed *ptr,
return total_sa;
else
return (d.buffer + (is_msaa ? 0 : d.level_offset_sw)) +
(uint64_t)(total_sa * bytes_per_sample_B);
(uint64_t)total_sa * bytes_per_sample_B;
}
uint64_t