pvr: Zero init pbe_cs_words to avoid passing on garbage.
authorRajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Sun, 25 Sep 2022 18:52:10 +0000 (19:52 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 30 Sep 2022 10:52:51 +0000 (10:52 +0000)
commit1021550e202b1088e24070f6363b4b0c437b38a4
tree3871f9dd1f9fe25d3313bcba190de022e535fb18
parent3fbecd485e8918d2e8eb0be739318d737f84d70d
pvr: Zero init pbe_cs_words to avoid passing on garbage.

In case if the surface->resolve_type is not PVR_RESOLVE_TYPE_PBE
then we do not setup pbe_cs_words in which case we might end up
using garbage values.

Fixes: CID 1515466.

Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Reviewed-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/18866>
src/imagination/vulkan/pvr_cmd_buffer.c