mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
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:
parent
88f5e5986b
commit
41ed38615b
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue