mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 22:00:37 +02:00
pan/bit: Wire up add/add op+test
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4470> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4470>
This commit is contained in:
parent
e456630bd9
commit
eeb626257d
2 changed files with 2 additions and 1 deletions
|
|
@ -1057,7 +1057,7 @@ bi_pack_add(bi_clause *clause, bi_bundle bundle, struct bi_registers *regs)
|
|||
|
||||
switch (bundle.add->type) {
|
||||
case BI_ADD:
|
||||
return BIFROST_ADD_NOP;
|
||||
return bi_pack_add_addmin(bundle.add, regs);
|
||||
case BI_ATEST:
|
||||
return bi_pack_add_atest(clause, bundle.add, regs);
|
||||
case BI_BRANCH:
|
||||
|
|
|
|||
|
|
@ -303,6 +303,7 @@ bit_packing(struct panfrost_device *dev, enum bit_debug debug)
|
|||
bit_fmod_helper(dev, BI_ADD, sz, true, input, debug, 0);
|
||||
|
||||
if (sz == 32) {
|
||||
bit_fmod_helper(dev, BI_ADD, sz, false, input, debug, 0);
|
||||
bit_fmod_helper(dev, BI_MINMAX, sz, false, input, debug, BI_MINMAX_MIN);
|
||||
bit_fmod_helper(dev, BI_MINMAX, sz, false, input, debug, BI_MINMAX_MAX);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue