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:
Jordan Justen
2022-12-27 15:36:58 -08:00
parent 614aa2e62b
commit 9e5190ad1f
-2
View File
@@ -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():