mesa/src/imagination
Karmjit Mahil c4fa00f751 pvr: Add EMIT_MASK in pvr_emit_ppp_state().
This commit adds an extra check on the emitted ppp state by
adding an EMIT_MASK.
The mask is just a copy of the header at the beginning of the emit.
Each time a word is emitted the appropriate bit in the mask is
cleared and at the end we make sure that the mask is 0. If not,
we forgot the either clear a bit somewhere or emit some words.
This is intended to make it easier to find such errors.

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/18631>
2022-09-21 16:47:06 +00:00
..
common pvr: Move BRN 44079, 48492 and 66011 code into pvrsrvkm specific directory 2022-07-27 10:13:19 +00:00
csbgen pvr: Implement vkGetPhysicalDeviceImageFormatProperties2 API. 2022-09-13 11:47:37 +00:00
include pvr: Implement vkGetPhysicalDeviceImageFormatProperties2 API. 2022-09-13 11:47:37 +00:00
rogue Revert "nir: Drop the unused instr arg for src/dest copy functions." 2022-08-30 18:21:44 +00:00
vulkan pvr: Add EMIT_MASK in pvr_emit_ppp_state(). 2022-09-21 16:47:06 +00:00
.clang-format pvr: Fix clang-format errors caused by vk outarrays. 2022-04-19 09:13:07 +00:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build