pvr: Fix overflow before widen warning for rgn headers size calculation.
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Fri, 14 Oct 2022 12:25:46 +0000 (13:25 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 15:24:53 +0000 (15:24 +0000)
commitd19835e43cdba8c122b7a27174c63772834bb1f2
treead185a5a2f8b5758178b6199d40b31736aee0b8c
parent6a35563de0e85452d7dbd5b8e0075ee755b8f52d
pvr: Fix overflow before widen warning for rgn headers size calculation.

This fixes CID 1515968.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19136>
src/imagination/vulkan/pvr_job_render.c