mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
pan/bi: Handle SEL with vec3 16-bit
Otherwise we end up with a missing argument. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5307>
This commit is contained in:
parent
afc18c62d7
commit
9ed1ae4724
1 changed files with 4 additions and 0 deletions
|
|
@ -77,6 +77,10 @@ bi_combine_sel16(bi_context *ctx, bi_instruction *parent, unsigned comp, unsigne
|
|||
} }
|
||||
};
|
||||
|
||||
/* In case we have a combine from a vec3 */
|
||||
if (!sel.src[1])
|
||||
sel.src[1] = BIR_INDEX_ZERO;
|
||||
|
||||
bi_emit_before(ctx, parent, sel);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue