[Mesa-dev] [PATCH mesa 2/3] anv: cleanup python imports
Eric Engestrom
eric.engestrom at intel.com
Wed Jul 25 19:14:51 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
src/intel/vulkan/anv_entrypoints_gen.py | 3 +--
src/intel/vulkan/anv_icd.py | 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py
index db35069850160f105e94..a37643ef62a62ec99a9c 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -23,7 +23,6 @@
#
import argparse
-import functools
import math
import os
import xml.etree.cElementTree as et
@@ -31,7 +30,7 @@
from collections import OrderedDict, namedtuple
from mako.template import Template
-from anv_extensions import *
+from anv_extensions import VkVersion, MAX_API_VERSION, EXTENSIONS
# We generate a static hash table for entry point lookup
# (vkGetProcAddress). We use a linear congruential generator for our hash
diff --git a/src/intel/vulkan/anv_icd.py b/src/intel/vulkan/anv_icd.py
index 36c2882f7d634de18752..6666fafec34f677e4572 100644
--- a/src/intel/vulkan/anv_icd.py
+++ b/src/intel/vulkan/anv_icd.py
@@ -22,8 +22,9 @@
import json
import os.path
+import argparse
-from anv_extensions import *
+from anv_extensions import MAX_API_VERSION
if __name__ == '__main__':
parser = argparse.ArgumentParser()
--
Cheers,
Eric
More information about the mesa-dev
mailing list