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>
This commit is contained in:
Icecream95 2022-02-21 16:50:56 +13:00 committed by Alyssa Rosenzweig
parent 9d4441c71a
commit 66a604efb5
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,9 @@ def parse_instruction(ins, include_pseudo):
common['exact'] = parse_exact(ins)
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
common['srcs'].append([int(src.attrib['start'], 0), mask])