Mesa (main): vulkan/physical_device_features: Drop some unnecessary dependencies
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Oct 4 23:39:12 UTC 2021
Module: Mesa
Branch: main
Commit: ec9619a83e0b7827fbb2c91b00ff88f323131f63
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec9619a83e0b7827fbb2c91b00ff88f323131f63
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Fri Oct 1 12:19:12 2021 -0500
vulkan/physical_device_features: Drop some unnecessary dependencies
None of these are actually used. We parse the XML bare and don't need
any extension or entrypoint information.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13150>
---
src/vulkan/util/meson.build | 2 --
src/vulkan/util/vk_physical_device_features.py | 6 ------
2 files changed, 8 deletions(-)
diff --git a/src/vulkan/util/meson.build b/src/vulkan/util/meson.build
index bdbacbc31c1..387eb6ed0be 100644
--- a/src/vulkan/util/meson.build
+++ b/src/vulkan/util/meson.build
@@ -43,8 +43,6 @@ vk_commands_gen_depend_files = [
vk_dispatch_table_gen_depend_files,
]
vk_physical_device_features_gen_depend_files = [
- files('vk_dispatch_table_gen.py'),
- vk_dispatch_table_gen_depend_files,
]
vk_entrypoints_gen = files('vk_entrypoints_gen.py')
diff --git a/src/vulkan/util/vk_physical_device_features.py b/src/vulkan/util/vk_physical_device_features.py
index 55d56106b51..240e12a78f9 100644
--- a/src/vulkan/util/vk_physical_device_features.py
+++ b/src/vulkan/util/vk_physical_device_features.py
@@ -25,17 +25,11 @@ COPYRIGHT=u"""
import argparse
import os
-import re
from collections import OrderedDict, namedtuple
import xml.etree.ElementTree as et
from mako.template import Template
-# Mesa-local imports must be declared in meson variable
-# '{file_without_suffix}_depend_files'.
-from vk_extensions import *
-from vk_dispatch_table_gen import get_entrypoints_from_xml, EntrypointParam
-
TEMPLATE_H = Template(COPYRIGHT + """\
/* This file generated from ${filename}, don't edit directly. */
More information about the mesa-commit
mailing list