pvr: fix typo in pvr_rt_get_region_headers_stride_size()
authorFrank Binns <frank.binns@imgtec.com>
Wed, 29 Mar 2023 15:44:32 +0000 (16:44 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Apr 2023 13:17:01 +0000 (13:17 +0000)
commit2d6527c9f15b06b556de884fa81c525cb4568a59
tree82fe0197de6dcbef1d4a8b23fc791274c3bebcc0
parent83a1b74240df3afcdb0e723c5bf6514b3321b411
pvr: fix typo in pvr_rt_get_region_headers_stride_size()

This function was returning the size of a single region header as the stride
when it was supposed to be returning the total size of the region headers for a
single render target. This went unnoticed due to the fact this function had two
variables with basically identical names. To avoid any future confusion, rename
rgn_header_size to single_rgn_header_size throughout the code.

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