gallivm/tgsi/swr: add mask vec to the tcs store
authorDave Airlie <airlied@redhat.com>
Mon, 17 Feb 2020 06:47:51 +0000 (16:47 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Feb 2020 08:33:34 +0000 (18:33 +1000)
commit70a7603b6396fed615adc9ba06c1f0f09b5ac9ac
treed3f36b0e37615b2e24fdb282ec5687f995aacecb
parent87359d68a980c70e6f3a65ffd528496ee498e366
gallivm/tgsi/swr: add mask vec to the tcs store

For the nir paths we want to access the mask vector to only
store when the mask allows it.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841>
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/swr/swr_shader.cpp