gallivm: add mask api to force mask
authorDave Airlie <airlied@redhat.com>
Thu, 19 Mar 2020 04:10:31 +0000 (14:10 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit28cc2ed79c1ba7f994a3459de5d11102403e8187
treebcc7471958a84b3c6bf279c9e5968d28da6b56b8
parentd89499063bd96bcc5d7d9239a1da43bf568c11fa
gallivm: add mask api to force mask

For per-sample shading the mask needs to be forced for each
iteration of the fragment shader.

Just adds the API for now.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
src/gallium/auxiliary/gallivm/lp_bld_flow.c
src/gallium/auxiliary/gallivm/lp_bld_flow.h