zink/codegen: remove core_since in constructor

the variable is now automatically filled in according to registry values

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14434>
This commit is contained in:
Hoe Hao Cheng 2022-01-07 12:50:44 +08:00 committed by Marge Bot
parent 029e871239
commit 37f01832eb

View file

@ -75,8 +75,7 @@ class Extension:
platform_guard = None
def __init__(self, name, alias="", required=False, nonstandard=False,
properties=False, features=False, conditions=None, guard=False,
core_since=None):
properties=False, features=False, conditions=None, guard=False):
self.name = name
self.alias = alias
self.is_required = required
@ -85,7 +84,6 @@ class Extension:
self.has_features = features
self.enable_conds = conditions
self.guard = guard
self.core_since = core_since
if alias == "" and (properties == True or features == True):
raise RuntimeError("alias must be available when properties and/or features are used")