driconf: Generate a static table when no xmlconfig
authorRob Clark <robdclark@chromium.org>
Sun, 21 Feb 2021 19:28:37 +0000 (11:28 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Feb 2021 16:02:51 +0000 (16:02 +0000)
commita6b0ceb341875c23ce0f76c8c7703f0ecbdc8300
tree97e9227cbbe93827092970b4bfa7bf222cd8bac8
parent94ca8706170bd73683b02550b2d916bf95e281bd
driconf: Generate a static table when no xmlconfig

For builds without runtime xmlconfig parsing, generate a static table
from 00-mesa-defaults.conf.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9179>
src/util/driconf_static.py [new file with mode: 0644]
src/util/meson.build