commit | b4a087ce1b939257a652f545a66d9a85c1fd8dc8 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Sep 16 12:44:14 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Sep 25 19:36:23 2020 +0000 |
tree | 5ebd30824ece9ba9d5f5acbd2943f61a83a6e26d | |
parent | e5d2481bfe761816bae173856262b0232a92b07b [diff] |
driconf: Use nesting macros for defining options. Manually balancing the BEGIN/ENDs is a recipe for xml validation failures, just make the macros do the balancing. The only ugly bit I think is that enums take a list of DRI_CONF_ENUM() without ','s in between them. Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6753>