vulkan/dispatch_table: EntrypointBase doesn't need to derive from object

We use python3 now and everything derives from object automatically

Suggested-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13156>
This commit is contained in:
Jason Ekstrand 2021-10-29 12:27:35 -05:00 committed by Marge Bot
parent 3fd7cc9d42
commit 8f9e0c2816

View file

@ -743,7 +743,7 @@ class StringIntMap(object):
EntrypointParam = namedtuple('EntrypointParam', 'type name decl len')
class EntrypointBase(object):
class EntrypointBase:
def __init__(self, name):
assert name.startswith('vk')
self.name = name[2:]