pvr: Add PVR_DEBUG=vk_desc option to dump descriptor set layouts
Prints on every call to vkCreate{DescriptorSet,Pipeline}Layout().
Previously, this could not be turned on or off at runtime, and was
dependent on DEBUG.
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23028>
This commit is contained in:
@@ -36,6 +36,8 @@ static const struct debug_named_value debug_control[] = {
|
||||
"Track all buffer objects with at least one reference." },
|
||||
{ "bo_zero", PVR_DEBUG_ZERO_BOS,
|
||||
"Zero all buffer objects at allocation to make them deterministic." },
|
||||
{ "vk_desc", PVR_DEBUG_VK_DUMP_DESCRIPTOR_SET_LAYOUT,
|
||||
"Dump descriptor set and pipeline layouts." },
|
||||
DEBUG_NAMED_VALUE_END
|
||||
};
|
||||
/* clang-format on */
|
||||
|
||||
Reference in New Issue
Block a user