pan/bi: Fix SEL.16 swizzle
2 scalar arguments, not 1 vector. 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
9ed1ae4724
commit
323eecaf13
|
@ -71,10 +71,10 @@ bi_combine_sel16(bi_context *ctx, bi_instruction *parent, unsigned comp, unsigne
|
|||
.dest_offset = comp >> 1,
|
||||
.src = { parent->src[comp], parent->src[comp + 1] },
|
||||
.src_types = { nir_type_uint16, nir_type_uint16 },
|
||||
.swizzle = { {
|
||||
parent->swizzle[comp][0],
|
||||
parent->swizzle[comp + 1][0],
|
||||
} }
|
||||
.swizzle = {
|
||||
{ parent->swizzle[comp][0] },
|
||||
{ parent->swizzle[comp + 1][0] },
|
||||
}
|
||||
};
|
||||
|
||||
/* In case we have a combine from a vec3 */
|
||||
|
|
Loading…
Reference in New Issue