mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
pan/bi: Fix vec2/3 handling
Otherwise we get moves from null. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4615>
This commit is contained in:
parent
031ad0ecc2
commit
438e445e17
1 changed files with 4 additions and 0 deletions
|
|
@ -231,6 +231,10 @@ bi_lower_combine(bi_context *ctx, bi_block *block)
|
|||
unsigned R = bi_make_temp_reg(ctx);
|
||||
|
||||
bi_foreach_src(ins, s) {
|
||||
/* We're done early for vec2/3 */
|
||||
if (!ins->src[s])
|
||||
continue;
|
||||
|
||||
unsigned vec_count = 0;
|
||||
|
||||
if (bi_lower_combine_src(ctx, ins, s, R, &vec_count)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue