mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
aco/insert_exec_mask: set Exact mode after p_discard_if when necessary
Fixes:5e9df85b1a('aco: optimize discard_if when WQM is not needed afterwards') Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25038> (cherry picked from commit0907b53740)
This commit is contained in:
parent
84b7f700bb
commit
dbbe743743
2 changed files with 2 additions and 1 deletions
|
|
@ -1678,7 +1678,7 @@
|
|||
"description": "aco/insert_exec_mask: set Exact mode after p_discard_if when necessary",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "5e9df85b1a4504c5b4162e77e139056dc80accc6"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -577,6 +577,7 @@ process_instructions(exec_ctx& ctx, Block* block, std::vector<aco_ptr<Instructio
|
|||
assert(ctx.info[block->index].exec[0].second == (mask_type_exact | mask_type_global));
|
||||
current_exec = get_exec_op(ctx.info[block->index].exec.back().first);
|
||||
ctx.info[block->index].exec[0].first = Operand(bld.lm);
|
||||
state = Exact;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue