mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
nouveau/mme: Allow ZERO as the destinatio nof mme_load_to
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
052bbd65c9
commit
c88e10dc2f
1 changed files with 2 additions and 1 deletions
|
|
@ -311,7 +311,8 @@ mme_tu104_alu64_to(struct mme_builder *b,
|
|||
void
|
||||
mme_tu104_load_to(struct mme_builder *b, struct mme_value dst)
|
||||
{
|
||||
assert(dst.type == MME_VALUE_TYPE_REG);
|
||||
assert(dst.type == MME_VALUE_TYPE_REG ||
|
||||
dst.type == MME_VALUE_TYPE_ZERO);
|
||||
|
||||
struct mme_tu104_alu alu = {
|
||||
.dst = mme_value_alu_reg(dst),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue