summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-07-18 14:39:36 +0100
committerEric Engestrom <[email protected]>2018-07-25 20:55:35 +0100
commite0347581f36507b792cbe400e8d4080509ab9d5d (patch)
tree1d2bcd4aa46d979dfd5e78a66ebdafe83ecf90e2
parentce7348507ee64d9ffd6ad7009e6da21d5b865085 (diff)
anv: cleanup python imports
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
-rw-r--r--src/intel/vulkan/anv_entrypoints_gen.py3
-rw-r--r--src/intel/vulkan/anv_icd.py3
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 5e2cd0740ae..e6cd9bbf0a9 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 @@ import xml.etree.cElementTree as et
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 36c2882f7d6..6666fafec34 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()