projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
614aa2e
)
intel/genxml: Drop assertion to allow for importing
author
Jordan Justen
<jordan.l.justen@intel.com>
Tue, 27 Dec 2022 23:36:58 +0000
(15:36 -0800)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Thu, 14 Sep 2023 18:05:16 +0000
(11:05 -0700)
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>
src/intel/genxml/intel_genxml.py
patch
|
blob
|
history
diff --git
a/src/intel/genxml/intel_genxml.py
b/src/intel/genxml/intel_genxml.py
index
86d8396
..
5680d9e
100755
(executable)
--- a/
src/intel/genxml/intel_genxml.py
+++ b/
src/intel/genxml/intel_genxml.py
@@
-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():