pvr: Use ~0 for masks instead of ~0U.
authorRajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Thu, 4 Aug 2022 13:05:44 +0000 (14:05 +0100)
committerRajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Thu, 22 Sep 2022 15:53:54 +0000 (16:53 +0100)
commit7eff950215122a42a6c057ee93d151d825bba8ae
tree6fb2887dead86d0d88decceaec9af7b8851cd826
parent10b6a0d567e9782ae5217f4303bdc6fd2f0610ec
pvr: Use ~0 for masks instead of ~0U.

This makes code future proof in case someone changes the type
and also avoids half masks (0x00000000FFFFFFFF) in case of
64bit variables.

Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Reported-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18707>
src/imagination/vulkan/pds/pvr_xgl_pds.c
src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_sync.c