gallivm: add swizzle support where one channel isn't defined.
authorDave Airlie <airlied@redhat.com>
Thu, 5 Sep 2019 05:41:05 +0000 (15:41 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Nov 2019 04:49:16 +0000 (14:49 +1000)
commit5363cda52b84124b2b93d22d34fc8ebf6302bdae
tree7e97d96ca9ecbb449247e502ee3bace8a3b276ab
parent3eb27cfccddaca7bb46bc42e0c1832b3c1085542
gallivm: add swizzle support where one channel isn't defined.

NIR doesn't always define all output channels
relies on outputs being memset to 0

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_swizzle.c