mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 10:20:33 +01:00
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:
parent
029e871239
commit
37f01832eb
1 changed files with 1 additions and 3 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue