intel/genxml: Drop assertion to allow for importing
For example, gen11.xml will import the HEVC_ARBITRATION_PRIORITY struct from gen9.xml. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20593>
This commit is contained in:
@@ -73,8 +73,6 @@ class Struct(object):
|
||||
for d in deps.keys():
|
||||
if d in struct_dict:
|
||||
self.deps[d] = struct_dict[d]
|
||||
else:
|
||||
assert d in enum_dict
|
||||
|
||||
def add_xml(self, items: typing.OrderedDict[str, et.Element]) -> None:
|
||||
for d in self.deps.values():
|
||||
|
||||
Reference in New Issue
Block a user