pvr: prohibit clang-format from touching the dri options list

The DRI options list is formatted specically and clang-format cannot
handle it properly.

Disable clang-format for this snippet.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41197>
This commit is contained in:
Icenowy Zheng 2026-04-27 18:26:27 +08:00 committed by Marge Bot
parent 88f5e5986b
commit 41ed38615b

View file

@ -321,11 +321,13 @@ pvr_get_driver_build_sha(struct pvr_instance *instance)
return true;
}
/* clang-format off */
static const driOptionDescription pvr_dri_options[] = {
DRI_CONF_SECTION_DEBUG
DRI_CONF_FORCE_VK_VENDOR()
DRI_CONF_SECTION_END
};
/* clang-format on */
static void pvr_init_dri_options(struct pvr_instance *instance)
{