From e0347581f36507b792cbe400e8d4080509ab9d5d Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 18 Jul 2018 14:39:36 +0100 Subject: [PATCH] anv: cleanup python imports Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- 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 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() -- 2.30.2