From: Eric Engestrom Date: Wed, 18 Jul 2018 13:39:36 +0000 (+0100) Subject: anv: cleanup python imports X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0347581f36507b792cbe400e8d4080509ab9d5d;p=mesa.git anv: cleanup python imports Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- 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()