mesa/src/imagination/vulkan/pds
Karmjit Mahil cfd525d097 pvr: Add PVR_DW_TO_BYTES()
We use dwords (32 bit) quite a bit around the code base. Previously
we used '* 4', '<< 2', or '* sizeof(uint32_t)' to go from dwords to
bytes. The conversion isn't always clear when other operations
happen in the same line, which can leave one wondering where the
multiplication came from.
PVR_DW_TO_BYTES() should make the code more obvious as well as
making the conversion more consistent.

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/22658>
2023-04-25 12:55:43 +00:00
..
pvr_pds_programs
meson.build pvr: Rename pvr_xgl_pds.c to pvr_pipeline_pds.c 2023-03-27 18:36:32 +00:00
pvr_pds.c pvr: Fix typo in PDS function name 2023-04-19 13:22:20 +00:00
pvr_pds.h pvr: Collect vertex input data and fill info struct. 2023-04-19 12:08:31 +00:00
pvr_pds_disasm.c pvr: Remove redundant assignment error.instruction. 2022-09-30 10:52:51 +00:00
pvr_pds_printer.c
pvr_pipeline_pds.c pvr: Add PVR_DW_TO_BYTES() 2023-04-25 12:55:43 +00:00
pvr_rogue_pds_defs.h
pvr_rogue_pds_disasm.h
pvr_rogue_pds_encode.h pvr: Fix typo in PDS function name 2023-04-19 13:22:20 +00:00