mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
pan/bi: Skip psuedo sources in ISA.xml
The second staging register source for the +BLEND instruction should not be packed nor disassembled, so skip it when include_pseudo is not set. Fixes:795638767d("pan/bi: Use fused dual source blending") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15250> (cherry picked from commit66a604efb5)
This commit is contained in:
parent
8a22cc32af
commit
909b675c19
2 changed files with 4 additions and 1 deletions
|
|
@ -571,7 +571,7 @@
|
||||||
"description": "pan/bi: Skip psuedo sources in ISA.xml",
|
"description": "pan/bi: Skip psuedo sources in ISA.xml",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "795638767d142a58b76c91a0719e42536435320f"
|
"because_sha": "795638767d142a58b76c91a0719e42536435320f"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,9 @@ def parse_instruction(ins, include_pseudo):
|
||||||
common['exact'] = parse_exact(ins)
|
common['exact'] = parse_exact(ins)
|
||||||
|
|
||||||
for src in ins.findall('src'):
|
for src in ins.findall('src'):
|
||||||
|
if src.attrib.get('pseudo', False) and not include_pseudo:
|
||||||
|
continue
|
||||||
|
|
||||||
mask = int(src.attrib['mask'], 0) if ('mask' in src.attrib) else 0xFF
|
mask = int(src.attrib['mask'], 0) if ('mask' in src.attrib) else 0xFF
|
||||||
common['srcs'].append([int(src.attrib['start'], 0), mask])
|
common['srcs'].append([int(src.attrib['start'], 0), mask])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue