llvmpipe: handle multisample color stores.
authorDave Airlie <airlied@redhat.com>
Fri, 20 Mar 2020 04:10:48 +0000 (14:10 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit210d714f46e72c954857ba32ca9ffcffbc264c9c
treed6e9a3574dedf2ae738041b35d35f42bb50ab472
parent102558912be91fa7d0eb22666dc7784739ca208b
llvmpipe: handle multisample color stores.

Extract the final per-sample masks and store to the multisample
color buffers using them.

This retypes the pointer to a uint8_t at entry to make the
GEP simpler, then recasts to the blend type.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
src/gallium/drivers/llvmpipe/lp_state_fs.c